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
- Itemizer.cs
- TraceData.cs
- MetadataWorkspace.cs
- FileDialog_Vista.cs
- DiagnosticsElement.cs
- ConnectionsZone.cs
- AnimationClock.cs
- ScriptManagerProxy.cs
- AnimationException.cs
- SpellCheck.cs
- Quaternion.cs
- SoapAttributeAttribute.cs
- ContainerUtilities.cs
- FormViewPagerRow.cs
- ClassHandlersStore.cs
- HMAC.cs
- PropertyAccessVisitor.cs
- NetworkInterface.cs
- StartUpEventArgs.cs
- XmlSchemaInclude.cs
- Label.cs
- Group.cs
- UserControl.cs
- AnalyzedTree.cs
- Sentence.cs
- BrowserDefinitionCollection.cs
- HijriCalendar.cs
- Brush.cs
- WebPartDescription.cs
- BinaryObjectInfo.cs
- ProxyElement.cs
- Int64AnimationBase.cs
- DocumentViewerBase.cs
- ListControl.cs
- RequestCacheValidator.cs
- EndpointDiscoveryMetadata.cs
- BridgeDataReader.cs
- ListBoxItemWrapperAutomationPeer.cs
- PathSegment.cs
- ObjectItemLoadingSessionData.cs
- SqlDelegatedTransaction.cs
- CellParaClient.cs
- MultipleViewPattern.cs
- RecipientInfo.cs
- TerminateSequence.cs
- DefaultEventAttribute.cs
- DispatcherProcessingDisabled.cs
- WebPartDisplayModeEventArgs.cs
- Activation.cs
- AdornerHitTestResult.cs
- TypedReference.cs
- CheckBoxBaseAdapter.cs
- GlobalEventManager.cs
- ImpersonationContext.cs
- shaperfactory.cs
- XslAst.cs
- ITextView.cs
- HyperLink.cs
- StylusSystemGestureEventArgs.cs
- Property.cs
- Win32Interop.cs
- PersonalizationStateInfo.cs
- SelectionRangeConverter.cs
- DataFormats.cs
- ClassHandlersStore.cs
- WindowsScrollBar.cs
- CompilationRelaxations.cs
- ProxyWebPartConnectionCollection.cs
- OutOfProcStateClientManager.cs
- ToolboxItemAttribute.cs
- _CommandStream.cs
- ButtonFlatAdapter.cs
- ContextQuery.cs
- TabControl.cs
- DomNameTable.cs
- ConfigXmlCDataSection.cs
- FontFamily.cs
- AttributeInfo.cs
- PermissionSet.cs
- ConcurrentDictionary.cs
- RootProfilePropertySettingsCollection.cs
- DesignerSerializationManager.cs
- SoapSchemaImporter.cs
- Transform.cs
- ProcessActivityTreeOptions.cs
- RegistrationServices.cs
- UnsafeNativeMethods.cs
- ContextQuery.cs
- PartManifestEntry.cs
- DateTimeSerializationSection.cs
- XmlDictionaryReaderQuotasElement.cs
- TcpConnectionPool.cs
- XmlSecureResolver.cs
- TokenBasedSetEnumerator.cs
- DecoratedNameAttribute.cs
- UnsafeNativeMethods.cs
- SafeFileMappingHandle.cs
- SqlParameter.cs
- SqlDataSourceConfigureFilterForm.cs
- WebPartTransformer.cs