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
- Listbox.cs
- ServiceRouteHandler.cs
- ServicePoint.cs
- FormView.cs
- MulticastNotSupportedException.cs
- ExtenderProvidedPropertyAttribute.cs
- ColumnClickEvent.cs
- ReaderWriterLockSlim.cs
- FactoryRecord.cs
- RuleConditionDialog.Designer.cs
- LeftCellWrapper.cs
- GridViewRowEventArgs.cs
- Random.cs
- RotateTransform.cs
- Vector3dCollection.cs
- RtfToken.cs
- Rfc4050KeyFormatter.cs
- XmlWellformedWriter.cs
- ObjectCloneHelper.cs
- TextOptions.cs
- PeerChannelListener.cs
- MetadataHelper.cs
- ToolStripGripRenderEventArgs.cs
- MSHTMLHost.cs
- DesignerObject.cs
- PersonalizationState.cs
- HtmlButton.cs
- LiteralText.cs
- RadioButton.cs
- ValueExpressions.cs
- datacache.cs
- FileFormatException.cs
- XPathAxisIterator.cs
- GlobalProxySelection.cs
- PipeStream.cs
- RepeatInfo.cs
- WebSysDefaultValueAttribute.cs
- ValidationHelper.cs
- PkcsMisc.cs
- MobileUserControlDesigner.cs
- XmlIterators.cs
- DbTransaction.cs
- TreeViewCancelEvent.cs
- ApplicationSettingsBase.cs
- TypeLoadException.cs
- QilName.cs
- CommandDevice.cs
- BuildProviderCollection.cs
- SimpleWorkerRequest.cs
- TimeSpanValidatorAttribute.cs
- TableCell.cs
- FixedSOMLineRanges.cs
- SimpleHandlerBuildProvider.cs
- UnmanagedMemoryStreamWrapper.cs
- ObservableDictionary.cs
- EmptyControlCollection.cs
- CodeCatchClauseCollection.cs
- XmlDataProvider.cs
- MultiBinding.cs
- DbRetry.cs
- SafeNativeMethods.cs
- InheritablePropertyChangeInfo.cs
- SqlClientPermission.cs
- NamespaceInfo.cs
- ScalarRestriction.cs
- safesecurityhelperavalon.cs
- SmtpFailedRecipientsException.cs
- SplitterEvent.cs
- WriteableBitmap.cs
- ColumnPropertiesGroup.cs
- WindowsIdentity.cs
- PersonalizationProviderCollection.cs
- UiaCoreProviderApi.cs
- MemberRelationshipService.cs
- PolicyException.cs
- CompilationRelaxations.cs
- TextServicesProperty.cs
- ObjectDataProvider.cs
- IndexOutOfRangeException.cs
- PartBasedPackageProperties.cs
- TemplateBindingExtensionConverter.cs
- SafeHandle.cs
- PnrpPermission.cs
- BoolExpression.cs
- SlotInfo.cs
- MetadataUtilsSmi.cs
- x509utils.cs
- Menu.cs
- CompiledQueryCacheKey.cs
- BamlResourceSerializer.cs
- PageHandlerFactory.cs
- SocketInformation.cs
- FrameworkReadOnlyPropertyMetadata.cs
- SequenceRangeCollection.cs
- ButtonField.cs
- DataGridViewCellConverter.cs
- BamlTreeNode.cs
- DataPagerFieldItem.cs
- OperationBehaviorAttribute.cs
- RichTextBox.cs