Code:
/ FX-1434 / FX-1434 / 1.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
- ScriptMethodAttribute.cs
- TrackingStringDictionary.cs
- UrlMappingsModule.cs
- OrderedDictionaryStateHelper.cs
- HashHelper.cs
- ResourceReader.cs
- Msec.cs
- SchemaElementDecl.cs
- StreamGeometryContext.cs
- ArgumentDirectionHelper.cs
- RotateTransform3D.cs
- XmlSerializerFactory.cs
- XmlElement.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- DesignerActionUIStateChangeEventArgs.cs
- relpropertyhelper.cs
- TemplatedControlDesigner.cs
- FormatConvertedBitmap.cs
- BitmapSource.cs
- Random.cs
- SmtpLoginAuthenticationModule.cs
- XmlSerializationWriter.cs
- EncryptionUtility.cs
- RegexCaptureCollection.cs
- SmtpException.cs
- RedirectionProxy.cs
- FixedDSBuilder.cs
- ValueSerializer.cs
- ImpersonationContext.cs
- ApplicationTrust.cs
- BasicAsyncResult.cs
- DataGridSortCommandEventArgs.cs
- SimpleFileLog.cs
- IHttpResponseInternal.cs
- CanExecuteRoutedEventArgs.cs
- InputScope.cs
- SelectionProcessor.cs
- RedirectionProxy.cs
- webclient.cs
- RightNameExpirationInfoPair.cs
- ReadOnlyDictionary.cs
- CopyAction.cs
- XmlComplianceUtil.cs
- TextServicesPropertyRanges.cs
- bindurihelper.cs
- AuthorizationRule.cs
- CheckoutException.cs
- InputElement.cs
- List.cs
- ThicknessAnimationBase.cs
- BitmapEffectRenderDataResource.cs
- RecognizerBase.cs
- DocumentPaginator.cs
- VectorConverter.cs
- SoapEnumAttribute.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- DbConnectionPoolGroup.cs
- InternalPermissions.cs
- ComponentChangingEvent.cs
- ValueOfAction.cs
- Token.cs
- TemplateKeyConverter.cs
- SemaphoreSecurity.cs
- GenericFlowSwitchHelper.cs
- SqlConnection.cs
- HttpProfileBase.cs
- WindowsGraphicsWrapper.cs
- DesignerCalendarAdapter.cs
- IteratorDescriptor.cs
- RadioButtonBaseAdapter.cs
- CompilerInfo.cs
- SoapHelper.cs
- SQLInt32.cs
- DispatcherExceptionEventArgs.cs
- ParameterCollection.cs
- Splitter.cs
- Odbc32.cs
- ReadOnlyHierarchicalDataSourceView.cs
- MenuItemBindingCollection.cs
- XmlWhitespace.cs
- BaseParaClient.cs
- WebSysDisplayNameAttribute.cs
- ProgressBar.cs
- FormViewUpdateEventArgs.cs
- FakeModelItemImpl.cs
- DataControlPagerLinkButton.cs
- AliasedSlot.cs
- _CookieModule.cs
- Point3D.cs
- CallbackHandler.cs
- EntityDataSourceColumn.cs
- XmlAggregates.cs
- MatrixStack.cs
- DataListItem.cs
- GenericTypeParameterBuilder.cs
- RuntimeIdentifierPropertyAttribute.cs
- FormViewUpdatedEventArgs.cs
- AbstractSvcMapFileLoader.cs
- PerformanceCounter.cs
- CrossSiteScriptingValidation.cs