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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AgileSafeNativeMemoryHandle.cs
- DataServices.cs
- TagPrefixAttribute.cs
- JsonReaderDelegator.cs
- SystemColors.cs
- RSAOAEPKeyExchangeFormatter.cs
- SqlStream.cs
- RelativeSource.cs
- PropertyDescriptorCollection.cs
- PixelFormatConverter.cs
- HelpKeywordAttribute.cs
- DesignerAttribute.cs
- XmlSchemaCollection.cs
- GridViewDesigner.cs
- Frame.cs
- IndexerHelper.cs
- ConfigurationSettings.cs
- ReadOnlyAttribute.cs
- DigitShape.cs
- WorkflowFormatterBehavior.cs
- WindowsFormsSynchronizationContext.cs
- DataConnectionHelper.cs
- MetaColumn.cs
- OleStrCAMarshaler.cs
- Size3D.cs
- HtmlContainerControl.cs
- EventLogTraceListener.cs
- JoinElimination.cs
- AssemblyName.cs
- EdmMember.cs
- CoreSwitches.cs
- VisualStyleInformation.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- ListItemConverter.cs
- cryptoapiTransform.cs
- XmlQueryTypeFactory.cs
- AssociationTypeEmitter.cs
- SafeProcessHandle.cs
- AppendHelper.cs
- XmlSerializerSection.cs
- ExtensionWindowHeader.cs
- XPathScanner.cs
- TryCatchDesigner.xaml.cs
- CodePageUtils.cs
- ObjectItemCollection.cs
- CodeValidator.cs
- x509utils.cs
- LinearKeyFrames.cs
- SmtpFailedRecipientsException.cs
- XmlSchemaException.cs
- Regex.cs
- Rectangle.cs
- SqlTrackingQuery.cs
- RepeaterCommandEventArgs.cs
- RemoteWebConfigurationHost.cs
- EntityDataSourceView.cs
- _ScatterGatherBuffers.cs
- XmlWriterSettings.cs
- MethodToken.cs
- RootBrowserWindowAutomationPeer.cs
- ContentFileHelper.cs
- PagesChangedEventArgs.cs
- PrintingPermissionAttribute.cs
- PolygonHotSpot.cs
- ToolStripManager.cs
- DEREncoding.cs
- DropShadowEffect.cs
- OleDbCommand.cs
- SortKey.cs
- WebCategoryAttribute.cs
- PermissionAttributes.cs
- CryptoHandle.cs
- CombinedHttpChannel.cs
- ReservationNotFoundException.cs
- OuterGlowBitmapEffect.cs
- DataListCommandEventArgs.cs
- _HeaderInfoTable.cs
- XmlNamespaceDeclarationsAttribute.cs
- RelatedView.cs
- SQLString.cs
- ExpressionList.cs
- FileBasedResourceGroveler.cs
- MimePart.cs
- StrongBox.cs
- RouteParameter.cs
- TextEditorDragDrop.cs
- FixedTextContainer.cs
- ContentPropertyAttribute.cs
- Tokenizer.cs
- BulletedListEventArgs.cs
- Container.cs
- RequestCachePolicyConverter.cs
- XmlBinaryReaderSession.cs
- CqlParser.cs
- RelationshipSet.cs
- EdmComplexTypeAttribute.cs
- QueryResponse.cs
- DecodeHelper.cs
- SolidColorBrush.cs
- ProviderManager.cs