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
- BitmapEffectInput.cs
- WindowsProgressbar.cs
- MemoryRecordBuffer.cs
- ToolStripItemImageRenderEventArgs.cs
- CloseSequence.cs
- __ComObject.cs
- GridViewRowCollection.cs
- WorkerRequest.cs
- XmlEnumAttribute.cs
- FormsAuthenticationTicket.cs
- CatalogZoneDesigner.cs
- ListBoxDesigner.cs
- LineMetrics.cs
- SingleSelectRootGridEntry.cs
- TrackingValidationObjectDictionary.cs
- ServicePointManagerElement.cs
- BitmapData.cs
- HashRepartitionEnumerator.cs
- GridViewSelectEventArgs.cs
- ContractInferenceHelper.cs
- MetadataArtifactLoader.cs
- DesignerActionItemCollection.cs
- MetadataFile.cs
- WebPartCatalogAddVerb.cs
- SimpleBitVector32.cs
- HMACMD5.cs
- MimeTextImporter.cs
- BamlMapTable.cs
- EntityDataSourceDesignerHelper.cs
- ResourceAssociationSetEnd.cs
- SurrogateEncoder.cs
- TypeSystemHelpers.cs
- StaticDataManager.cs
- DispatcherSynchronizationContext.cs
- CacheAxisQuery.cs
- StructuredTypeEmitter.cs
- DashStyle.cs
- EntityDataSourceContextDisposingEventArgs.cs
- CaseInsensitiveComparer.cs
- Button.cs
- TemplatedMailWebEventProvider.cs
- ComplexBindingPropertiesAttribute.cs
- ListenerAdapterBase.cs
- PerfCounters.cs
- CompilerParameters.cs
- WindowsImpersonationContext.cs
- DocumentGridPage.cs
- GridPatternIdentifiers.cs
- SqlDataSourceDesigner.cs
- RevocationPoint.cs
- DateTimeUtil.cs
- SamlAdvice.cs
- ReflectionTypeLoadException.cs
- CaseInsensitiveOrdinalStringComparer.cs
- SourceFileBuildProvider.cs
- UserControlParser.cs
- CacheMode.cs
- XPathNavigator.cs
- Variable.cs
- MasterPage.cs
- DataSetUtil.cs
- SQLBoolean.cs
- AnnotationResourceChangedEventArgs.cs
- StreamUpdate.cs
- StatusBarPanel.cs
- StyleXamlParser.cs
- SchemaEntity.cs
- ConfigLoader.cs
- PeekCompletedEventArgs.cs
- FontNameEditor.cs
- IpcServerChannel.cs
- AssociationSetEnd.cs
- CompoundFileStorageReference.cs
- DataGridState.cs
- DataGridViewBand.cs
- VisualTreeHelper.cs
- Calendar.cs
- PeerNameRecord.cs
- ConditionalAttribute.cs
- LongPath.cs
- DurableInstanceManager.cs
- CharacterMetrics.cs
- NativeBuffer.cs
- CultureSpecificCharacterBufferRange.cs
- PathGeometry.cs
- LineGeometry.cs
- XmlSiteMapProvider.cs
- FunctionDescription.cs
- MLangCodePageEncoding.cs
- SystemIPGlobalStatistics.cs
- TableRow.cs
- WindowsClaimSet.cs
- InternalConfigConfigurationFactory.cs
- URLString.cs
- OracleInfoMessageEventArgs.cs
- GridViewCommandEventArgs.cs
- ViewManagerAttribute.cs
- HttpFileCollectionWrapper.cs
- DockAndAnchorLayout.cs
- FormatterConverter.cs