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
- DbParameterCollectionHelper.cs
- AnnotationAdorner.cs
- StatusStrip.cs
- SpStreamWrapper.cs
- SqlDataSourceConfigureFilterForm.cs
- IgnoreSectionHandler.cs
- DayRenderEvent.cs
- InboundActivityHelper.cs
- PeerTransportSecuritySettings.cs
- AssemblyBuilderData.cs
- LateBoundBitmapDecoder.cs
- _LoggingObject.cs
- TCEAdapterGenerator.cs
- figurelength.cs
- DbParameterCollectionHelper.cs
- IntegerCollectionEditor.cs
- CompiledQuery.cs
- StrokeNodeOperations.cs
- DynamicFilterExpression.cs
- WorkflowServiceBehavior.cs
- FormClosedEvent.cs
- _TransmitFileOverlappedAsyncResult.cs
- SimpleApplicationHost.cs
- QueryCacheEntry.cs
- StyleSelector.cs
- TreeNodeCollection.cs
- AutomationEvent.cs
- UnmanagedMemoryStreamWrapper.cs
- IndexOutOfRangeException.cs
- ParentQuery.cs
- ObjectHelper.cs
- KeyedCollection.cs
- CodeStatement.cs
- ObjectViewEntityCollectionData.cs
- SmiConnection.cs
- TreeNodeBindingCollection.cs
- InvokePatternIdentifiers.cs
- ExpressionLink.cs
- CodeAttachEventStatement.cs
- MethodToken.cs
- GlyphRunDrawing.cs
- HtmlGenericControl.cs
- MessageQueueInstaller.cs
- MailWebEventProvider.cs
- ProfileSettings.cs
- ToolStripDropDownMenu.cs
- EventWaitHandleSecurity.cs
- UIElement3D.cs
- X509Certificate2Collection.cs
- GridViewItemAutomationPeer.cs
- SettingsProviderCollection.cs
- ToolStripDropDownItemDesigner.cs
- RemoveStoryboard.cs
- DbSource.cs
- DesignerVerb.cs
- ProtectedProviderSettings.cs
- FilteredXmlReader.cs
- MessageBox.cs
- AttributeSetAction.cs
- TabControlAutomationPeer.cs
- CharacterHit.cs
- ResolveCriteria11.cs
- AnnotationAdorner.cs
- QuotedPrintableStream.cs
- BmpBitmapDecoder.cs
- TreeNodeClickEventArgs.cs
- ProxyBuilder.cs
- _NTAuthentication.cs
- ObjectSet.cs
- ClientSettingsStore.cs
- CornerRadiusConverter.cs
- EntityDataSourceChangingEventArgs.cs
- SafeNativeMemoryHandle.cs
- QuerySettings.cs
- Focus.cs
- WebServiceParameterData.cs
- Typeface.cs
- FactoryGenerator.cs
- DistinctQueryOperator.cs
- SqlMethodCallConverter.cs
- ObjectListShowCommandsEventArgs.cs
- RefreshPropertiesAttribute.cs
- DataGridViewAutoSizeModeEventArgs.cs
- UpdatePanelTrigger.cs
- ColorMap.cs
- Function.cs
- DescendentsWalker.cs
- GeometryDrawing.cs
- PolicyLevel.cs
- WebScriptMetadataMessageEncodingBindingElement.cs
- ProgressPage.cs
- NullPackagingPolicy.cs
- Hyperlink.cs
- CodeGenerator.cs
- Utils.cs
- AssociativeAggregationOperator.cs
- TextStore.cs
- SubMenuStyleCollection.cs
- DynamicUpdateCommand.cs
- ExpressionWriter.cs