Code:
/ DotNET / DotNET / 8.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
- FileDialog_Vista.cs
- DPTypeDescriptorContext.cs
- ExchangeUtilities.cs
- TraceLevelHelper.cs
- TypedColumnHandler.cs
- ArraySubsetEnumerator.cs
- TypeConstant.cs
- SizeChangedInfo.cs
- UInt64Storage.cs
- AttributeTable.cs
- KeyedHashAlgorithm.cs
- RegionData.cs
- TreeViewHitTestInfo.cs
- KeyValueConfigurationElement.cs
- NetSectionGroup.cs
- Operator.cs
- Process.cs
- DispatcherExceptionEventArgs.cs
- TypeElement.cs
- _StreamFramer.cs
- CacheModeValueSerializer.cs
- LicenseException.cs
- InlineObject.cs
- SecurityAlgorithmSuite.cs
- DbConnectionPoolIdentity.cs
- IPCCacheManager.cs
- SafeRegistryHandle.cs
- CodeIterationStatement.cs
- SynchronizedInputPattern.cs
- TableLayoutStyleCollection.cs
- SplayTreeNode.cs
- SessionIDManager.cs
- ToolboxBitmapAttribute.cs
- GridViewRowEventArgs.cs
- Int32CollectionValueSerializer.cs
- DPAPIProtectedConfigurationProvider.cs
- InternalConfigRoot.cs
- SafeHandles.cs
- PenCursorManager.cs
- XmlILIndex.cs
- HostProtectionException.cs
- AttributeUsageAttribute.cs
- _Semaphore.cs
- DragDrop.cs
- SspiWrapper.cs
- PageEventArgs.cs
- TextChangedEventArgs.cs
- DataColumnCollection.cs
- FormsIdentity.cs
- ResourceBinder.cs
- BooleanConverter.cs
- FreeFormPanel.cs
- XmlWellformedWriter.cs
- UncommonField.cs
- MessageDesigner.cs
- Int64AnimationUsingKeyFrames.cs
- CredentialSelector.cs
- Console.cs
- QueryOperatorEnumerator.cs
- XmlWrappingWriter.cs
- AuthenticationModulesSection.cs
- AppDomain.cs
- RequestQueryParser.cs
- QilUnary.cs
- MailAddressCollection.cs
- TextRange.cs
- ItemType.cs
- XPathMultyIterator.cs
- ResolvedKeyFrameEntry.cs
- ResourceSetExpression.cs
- PenCursorManager.cs
- FigureParagraph.cs
- UserPersonalizationStateInfo.cs
- QueryRewriter.cs
- QuerySafeNavigator.cs
- ScrollableControl.cs
- SchemaNamespaceManager.cs
- RoleManagerModule.cs
- XmlDocumentType.cs
- XmlUnspecifiedAttribute.cs
- WindowsNonControl.cs
- COM2ICategorizePropertiesHandler.cs
- oledbmetadatacollectionnames.cs
- FixUp.cs
- baseshape.cs
- SQLGuidStorage.cs
- CryptoHelper.cs
- COM2ColorConverter.cs
- XmlDataDocument.cs
- EmbeddedMailObject.cs
- CodeParameterDeclarationExpression.cs
- CollectionTraceRecord.cs
- ConfigurationException.cs
- TrackingProfileSerializer.cs
- CallbackDebugBehavior.cs
- RemotingSurrogateSelector.cs
- ObjectAnimationBase.cs
- CacheSection.cs
- GeneralTransform2DTo3D.cs
- GenericUriParser.cs