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
- WSSecurityPolicy12.cs
- SHA512CryptoServiceProvider.cs
- CanExecuteRoutedEventArgs.cs
- WinInetCache.cs
- CharConverter.cs
- SeekableReadStream.cs
- Parallel.cs
- OracleDataReader.cs
- Calendar.cs
- HuffmanTree.cs
- DbProviderFactoriesConfigurationHandler.cs
- DLinqColumnProvider.cs
- SharedMemory.cs
- SoapCodeExporter.cs
- PermissionSet.cs
- ZoneMembershipCondition.cs
- MailSettingsSection.cs
- Bitmap.cs
- DataGridCaption.cs
- ScriptingSectionGroup.cs
- BaseCodePageEncoding.cs
- DockProviderWrapper.cs
- PTManager.cs
- ResourceContainer.cs
- DependencyPropertyConverter.cs
- WorkflowElementDialog.cs
- ConfigurationSection.cs
- OleDbStruct.cs
- CookieHandler.cs
- AppDomainProtocolHandler.cs
- SerTrace.cs
- ComPlusDiagnosticTraceSchemas.cs
- DeviceSpecificDialogCachedState.cs
- IndexingContentUnit.cs
- DynamicRenderer.cs
- CredentialSelector.cs
- SecurityHeaderTokenResolver.cs
- CompositeFontParser.cs
- NamedObject.cs
- CorrelationExtension.cs
- ReachSerializerAsync.cs
- ThemeInfoAttribute.cs
- QilSortKey.cs
- DbConnectionPoolGroupProviderInfo.cs
- UnsafeNativeMethodsTablet.cs
- XpsS0ValidatingLoader.cs
- ExpandedProjectionNode.cs
- NullableConverter.cs
- XamlGridLengthSerializer.cs
- ListSourceHelper.cs
- DelegateInArgument.cs
- OutputScopeManager.cs
- FeedUtils.cs
- AutomationProperties.cs
- PathSegmentCollection.cs
- XmlSchemaComplexContentRestriction.cs
- SqlInternalConnectionTds.cs
- DragDrop.cs
- FigureParagraph.cs
- VectorCollection.cs
- LogicalExpressionEditor.cs
- DesignerAdapterUtil.cs
- GridViewColumnCollection.cs
- MetadataAssemblyHelper.cs
- EventInfo.cs
- IOException.cs
- FrameSecurityDescriptor.cs
- ContainerUtilities.cs
- FullTrustAssembliesSection.cs
- CustomAttributeFormatException.cs
- TabControlAutomationPeer.cs
- DateTimeAutomationPeer.cs
- Latin1Encoding.cs
- PointLight.cs
- EntityDataSourceMemberPath.cs
- DoubleCollection.cs
- TraceLevelStore.cs
- LockedBorderGlyph.cs
- HtmlInputReset.cs
- FixedSOMPageConstructor.cs
- ThaiBuddhistCalendar.cs
- GradientBrush.cs
- OverlappedAsyncResult.cs
- ValidationErrorEventArgs.cs
- TransformerTypeCollection.cs
- HTTPRemotingHandler.cs
- SharedHttpsTransportManager.cs
- ProjectionPruner.cs
- WindowInteropHelper.cs
- DBCSCodePageEncoding.cs
- DesignerToolStripControlHost.cs
- XsdBuildProvider.cs
- SafeRightsManagementHandle.cs
- ServiceProviders.cs
- DependencySource.cs
- TrackingQuery.cs
- ItemDragEvent.cs
- ParseHttpDate.cs
- Rotation3D.cs
- _AuthenticationState.cs