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
- DocumentPropertiesDialog.cs
- WindowsScrollBar.cs
- ContentDefinition.cs
- CategoryAttribute.cs
- FileUtil.cs
- Shared.cs
- DictionaryKeyPropertyAttribute.cs
- CodeIndexerExpression.cs
- XmlSchemaException.cs
- TriState.cs
- BitmapDecoder.cs
- Process.cs
- CommandManager.cs
- TextServicesCompartmentEventSink.cs
- DataView.cs
- InheritablePropertyChangeInfo.cs
- TypeViewSchema.cs
- SubMenuStyleCollection.cs
- arabicshape.cs
- PtsCache.cs
- DataServiceExpressionVisitor.cs
- PrintDialogDesigner.cs
- StylusPointDescription.cs
- PointConverter.cs
- SqlUdtInfo.cs
- CornerRadius.cs
- CmsInterop.cs
- ConstraintManager.cs
- DropTarget.cs
- StrokeFIndices.cs
- ReferencedAssemblyResolver.cs
- Stroke2.cs
- ListViewCommandEventArgs.cs
- SpotLight.cs
- DataGrid.cs
- ProcessModelSection.cs
- ResourceCategoryAttribute.cs
- SortedList.cs
- NameTable.cs
- ControlAdapter.cs
- SamlConditions.cs
- Utilities.cs
- ListBoxItemAutomationPeer.cs
- CachingHintValidation.cs
- DecoratedNameAttribute.cs
- PipeSecurity.cs
- Stacktrace.cs
- DescendantOverDescendantQuery.cs
- TreeNodeBinding.cs
- ToolStripSplitButton.cs
- OletxDependentTransaction.cs
- TableStyle.cs
- ReceiveActivityValidator.cs
- ConfigXmlCDataSection.cs
- XmlSchemaCompilationSettings.cs
- SelectManyQueryOperator.cs
- CultureInfoConverter.cs
- ToolboxComponentsCreatingEventArgs.cs
- StaticTextPointer.cs
- MouseActionValueSerializer.cs
- compensatingcollection.cs
- AsyncPostBackErrorEventArgs.cs
- ControlPaint.cs
- RequestCachePolicyConverter.cs
- ZipIOFileItemStream.cs
- RedistVersionInfo.cs
- BitmapImage.cs
- Roles.cs
- OleTxTransaction.cs
- ThaiBuddhistCalendar.cs
- UserControlDesigner.cs
- XmlComment.cs
- Renderer.cs
- ObjectToModelValueConverter.cs
- ForceCopyBuildProvider.cs
- ProjectionCamera.cs
- VerticalAlignConverter.cs
- RouteTable.cs
- LookupNode.cs
- Brush.cs
- MasterPageBuildProvider.cs
- StylusButtonEventArgs.cs
- TextInfo.cs
- TraceFilter.cs
- DbMetaDataFactory.cs
- PointHitTestResult.cs
- ResourceDescriptionAttribute.cs
- ImageAutomationPeer.cs
- Stacktrace.cs
- SelectionGlyphBase.cs
- ParseChildrenAsPropertiesAttribute.cs
- ComponentRenameEvent.cs
- AttributeEmitter.cs
- ObjectStateManager.cs
- HttpModuleCollection.cs
- Win32MouseDevice.cs
- NetCodeGroup.cs
- SoapFault.cs
- TypePresenter.xaml.cs
- ModulesEntry.cs