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
- BuiltInPermissionSets.cs
- EntityDataSourceQueryBuilder.cs
- TextStore.cs
- SmiSettersStream.cs
- BitmapEffectInputData.cs
- DeviceContexts.cs
- PassportAuthenticationModule.cs
- StringAnimationBase.cs
- DbProviderFactories.cs
- InstancePersistenceEvent.cs
- MemberInitExpression.cs
- SourceLocationProvider.cs
- smtpconnection.cs
- TitleStyle.cs
- DbConnectionPoolIdentity.cs
- DataObjectCopyingEventArgs.cs
- CustomExpression.cs
- IndexOutOfRangeException.cs
- Win32KeyboardDevice.cs
- DataSourceSerializationException.cs
- IOThreadTimer.cs
- ToolStripRenderEventArgs.cs
- SystemInfo.cs
- SqlBinder.cs
- TextServicesCompartmentContext.cs
- Interlocked.cs
- TextServicesCompartmentEventSink.cs
- TableLayoutPanelCellPosition.cs
- DataPagerFieldCollection.cs
- HwndKeyboardInputProvider.cs
- FixedFindEngine.cs
- OracleBoolean.cs
- HebrewCalendar.cs
- XPathNodeInfoAtom.cs
- FormView.cs
- MemberAccessException.cs
- IEnumerable.cs
- JsonClassDataContract.cs
- ContextQuery.cs
- ExtensionFile.cs
- Classification.cs
- DataReceivedEventArgs.cs
- TextServicesProperty.cs
- AssemblyAttributesGoHere.cs
- SecurityManager.cs
- BinaryObjectReader.cs
- EventsTab.cs
- MDIControlStrip.cs
- EmissiveMaterial.cs
- EncodingTable.cs
- SqlCacheDependencySection.cs
- mda.cs
- CodeComment.cs
- UserCancellationException.cs
- RIPEMD160.cs
- OleDbReferenceCollection.cs
- SqlGatherConsumedAliases.cs
- StyleModeStack.cs
- SHA1CryptoServiceProvider.cs
- MailAddress.cs
- LambdaCompiler.Address.cs
- ContextQuery.cs
- Stroke.cs
- BlurBitmapEffect.cs
- XmlProcessingInstruction.cs
- ItemsPanelTemplate.cs
- ErrorFormatterPage.cs
- ProfileProvider.cs
- SamlAuthenticationStatement.cs
- FontStyle.cs
- _AuthenticationState.cs
- DataPagerFieldCollection.cs
- ConfigurationManagerInternal.cs
- StringReader.cs
- DSACryptoServiceProvider.cs
- IntSecurity.cs
- DictionarySurrogate.cs
- RSAPKCS1SignatureFormatter.cs
- ReadOnlyAttribute.cs
- IPPacketInformation.cs
- IOThreadScheduler.cs
- CardSpaceShim.cs
- SetterBase.cs
- XmlAtomErrorReader.cs
- ExpressionBuilder.cs
- XmlSerializerAssemblyAttribute.cs
- InvalidChannelBindingException.cs
- XmlSiteMapProvider.cs
- followingsibling.cs
- Attributes.cs
- FocusManager.cs
- SrgsRulesCollection.cs
- AgileSafeNativeMemoryHandle.cs
- MethodImplAttribute.cs
- RelationshipSet.cs
- UnsafeNetInfoNativeMethods.cs
- WebServiceData.cs
- FileCodeGroup.cs
- VirtualDirectoryMapping.cs
- UserValidatedEventArgs.cs