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
- GridViewEditEventArgs.cs
- MediaSystem.cs
- DocumentPageHost.cs
- LeftCellWrapper.cs
- _BasicClient.cs
- InlineObject.cs
- FixedBufferAttribute.cs
- GeneratedCodeAttribute.cs
- XmlSchemaSimpleContentRestriction.cs
- DataGridComboBoxColumn.cs
- CompositeActivityTypeDescriptor.cs
- TimelineGroup.cs
- CompiledIdentityConstraint.cs
- OverrideMode.cs
- CompatibleIComparer.cs
- AsyncPostBackErrorEventArgs.cs
- CatalogPartChrome.cs
- OdbcError.cs
- NavigatorInput.cs
- NotFiniteNumberException.cs
- TableStyle.cs
- ScopeCollection.cs
- URLIdentityPermission.cs
- OrderByBuilder.cs
- Setter.cs
- Token.cs
- Site.cs
- SHA1Managed.cs
- XmlWrappingWriter.cs
- AutomationPropertyInfo.cs
- AsyncOperationLifetimeManager.cs
- IsolatedStorageFilePermission.cs
- ToolStripPanelCell.cs
- EditorPartCollection.cs
- SourceSwitch.cs
- CornerRadius.cs
- ValidationEventArgs.cs
- DataGridTextBox.cs
- SecureStringHasher.cs
- ShaderRenderModeValidation.cs
- XPathNavigator.cs
- SHA384CryptoServiceProvider.cs
- SizeChangedInfo.cs
- DefaultMemberAttribute.cs
- MediaContextNotificationWindow.cs
- FontConverter.cs
- AccessDataSourceView.cs
- MessageUtil.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- OAVariantLib.cs
- MenuCommandService.cs
- ParentUndoUnit.cs
- OraclePermission.cs
- VectorKeyFrameCollection.cs
- Page.cs
- XmlILOptimizerVisitor.cs
- MatrixTransform.cs
- SchemaDeclBase.cs
- SplashScreen.cs
- MissingManifestResourceException.cs
- TemplateControl.cs
- VoiceInfo.cs
- DbModificationClause.cs
- FlowLayoutSettings.cs
- Style.cs
- WinEventQueueItem.cs
- CharacterBuffer.cs
- HttpCookie.cs
- namescope.cs
- WorkflowValidationFailedException.cs
- DataControlPagerLinkButton.cs
- PropertyOrder.cs
- TableAdapterManagerGenerator.cs
- OperationCanceledException.cs
- OletxDependentTransaction.cs
- XPathNavigator.cs
- ToolBar.cs
- NamespaceQuery.cs
- SAPICategories.cs
- ToolBar.cs
- ToolStripDropDownClosingEventArgs.cs
- StringPropertyBuilder.cs
- RowsCopiedEventArgs.cs
- WebConfigurationManager.cs
- WebBrowserSiteBase.cs
- ContextMenuAutomationPeer.cs
- Set.cs
- CodeEventReferenceExpression.cs
- AsyncCodeActivityContext.cs
- EntitySqlQueryBuilder.cs
- Freezable.cs
- JsonDataContract.cs
- OleDbTransaction.cs
- EventLogEntryCollection.cs
- DuplicateWaitObjectException.cs
- TagPrefixInfo.cs
- CreateUserWizardStep.cs
- DecoderFallback.cs
- VScrollProperties.cs
- Helper.cs