Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / VsPropertyGrid.cs / 1 / VsPropertyGrid.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms.Design { using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Windows.Forms; using System.Data; using System.Drawing.Design; using System.Diagnostics; using System.Design; using System.Windows.Forms.Layout; // Internal wrapper for the propertyGrids on the CollectionEditors so that they have the correct renderer to Render VS-Shell like ToolStrips. internal class VsPropertyGrid : PropertyGrid { public VsPropertyGrid(IServiceProvider serviceProvider) : base() { if (serviceProvider != null) { IUIService uis = serviceProvider.GetService(typeof(IUIService)) as IUIService; if (uis != null) { this.ToolStripRenderer = (ToolStripProfessionalRenderer)uis.Styles["VsToolWindowRenderer"]; } } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SHA1.cs
- XmlDataSourceView.cs
- XmlException.cs
- VisualBasicSettingsHandler.cs
- WorkflowMarkupSerializationProvider.cs
- WrappedOptions.cs
- WindowsListViewGroup.cs
- ActiveDesignSurfaceEvent.cs
- MbpInfo.cs
- DataObjectMethodAttribute.cs
- KeyGestureConverter.cs
- SQLInt64Storage.cs
- HandlerBase.cs
- DynamicDocumentPaginator.cs
- PointLight.cs
- Accessible.cs
- CharUnicodeInfo.cs
- DiscoveryRequestHandler.cs
- StylusButtonEventArgs.cs
- ErrorTableItemStyle.cs
- FontNamesConverter.cs
- IDReferencePropertyAttribute.cs
- StoreConnection.cs
- SqlBooleanizer.cs
- Marshal.cs
- DefaultWorkflowSchedulerService.cs
- CaseInsensitiveHashCodeProvider.cs
- IArgumentProvider.cs
- UnmanagedMemoryAccessor.cs
- LoginUtil.cs
- XMLSchema.cs
- GenericRootAutomationPeer.cs
- SystemResourceKey.cs
- TabControlAutomationPeer.cs
- ParenExpr.cs
- MenuItemStyle.cs
- Function.cs
- DotExpr.cs
- Vector3DAnimationBase.cs
- SpellCheck.cs
- MethodToken.cs
- VisualStyleRenderer.cs
- thaishape.cs
- AssociationSet.cs
- _NestedMultipleAsyncResult.cs
- unitconverter.cs
- RewritingValidator.cs
- WindowsListViewGroup.cs
- SqlNamer.cs
- DataSourceBooleanViewSchemaConverter.cs
- ComPlusTypeValidator.cs
- HMACSHA1.cs
- AmbientLight.cs
- TextSpan.cs
- SmiEventSink_DeferedProcessing.cs
- GridProviderWrapper.cs
- FormsAuthentication.cs
- SettingsPropertyWrongTypeException.cs
- MultiSelector.cs
- IndexedString.cs
- MailHeaderInfo.cs
- GroupQuery.cs
- FileDialog_Vista.cs
- UseLicense.cs
- mediaclock.cs
- GridLength.cs
- GlobalProxySelection.cs
- TextEndOfSegment.cs
- DynamicExpression.cs
- Bookmark.cs
- AuthenticationConfig.cs
- DebugView.cs
- SignatureDescription.cs
- CompilerWrapper.cs
- DataGridViewLayoutData.cs
- ClusterSafeNativeMethods.cs
- ResXFileRef.cs
- SemanticKeyElement.cs
- CurrentChangingEventArgs.cs
- XPathLexer.cs
- TreeNodeMouseHoverEvent.cs
- EncoderReplacementFallback.cs
- StatusBar.cs
- ConstantProjectedSlot.cs
- BinHexDecoder.cs
- DataObjectEventArgs.cs
- MenuItemStyleCollection.cs
- BaseAddressPrefixFilterElementCollection.cs
- ProfileParameter.cs
- RtfToXamlLexer.cs
- HttpProxyTransportBindingElement.cs
- WebHttpBindingElement.cs
- shaperfactoryquerycachekey.cs
- OleDbParameterCollection.cs
- StateDesigner.TransitionInfo.cs
- OleDbErrorCollection.cs
- QueryOpeningEnumerator.cs
- ToolStripRenderer.cs
- GenericTypeParameterBuilder.cs
- WebPartZoneCollection.cs