Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / PropertyGridDesigner.cs / 1 / PropertyGridDesigner.cs
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope="member", Target="System.Windows.Forms.Design.PropertyGridDesigner..ctor()")] namespace System.Windows.Forms.Design { using System.Diagnostics; using System; using System.Windows.Forms; using System.Drawing; using Microsoft.Win32; using System.ComponentModel; using System.Drawing.Design; using System.ComponentModel.Design; using System.Collections; ////// /// This class handles all design time behavior for the property grid class. Group /// boxes may contain sub-components and therefore use the frame designer. /// internal class PropertyGridDesigner : ControlDesigner { public PropertyGridDesigner() { AutoResizeHandles = true; } ////// /// Allows a designer to filter the set of properties /// the component it is designing will expose through the /// TypeDescriptor object. This method is called /// immediately before its corresponding "Post" method. /// If you are overriding this method you should call /// the base implementation before you perform your own /// filtering. /// protected override void PreFilterProperties(IDictionary properties) { // remove the ScrollableControl props... // properties.Remove("AutoScroll"); properties.Remove("AutoScrollMargin"); properties.Remove("DockPadding"); properties.Remove("AutoScrollMinSize"); base.PreFilterProperties(properties); } } } // 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
- XmlSchemaExporter.cs
- CredentialCache.cs
- TdsRecordBufferSetter.cs
- NotSupportedException.cs
- ConfigDefinitionUpdates.cs
- PageAsyncTask.cs
- ListArgumentProvider.cs
- SortKey.cs
- GlobalizationAssembly.cs
- x509store.cs
- MultiView.cs
- XPathPatternParser.cs
- ManagementOptions.cs
- DataGridViewRowEventArgs.cs
- NavigatingCancelEventArgs.cs
- Pen.cs
- GregorianCalendarHelper.cs
- Label.cs
- PathTooLongException.cs
- XLinq.cs
- ConstrainedDataObject.cs
- ConstrainedDataObject.cs
- DrawingContextWalker.cs
- TimersDescriptionAttribute.cs
- storepermissionattribute.cs
- SimplePropertyEntry.cs
- Model3DGroup.cs
- URI.cs
- EventPrivateKey.cs
- WebPartCatalogAddVerb.cs
- OracleParameter.cs
- CodeExporter.cs
- AsnEncodedData.cs
- InternalException.cs
- AsymmetricCryptoHandle.cs
- CmsUtils.cs
- Internal.cs
- ActivityInstanceReference.cs
- MultitargetingHelpers.cs
- DataGridViewHitTestInfo.cs
- ButtonBase.cs
- FrameworkPropertyMetadata.cs
- ByteAnimationBase.cs
- AssertFilter.cs
- BinaryCommonClasses.cs
- TableColumn.cs
- UserPersonalizationStateInfo.cs
- ProfileGroupSettingsCollection.cs
- EqualityArray.cs
- MobileControlDesigner.cs
- FrameworkElementFactoryMarkupObject.cs
- WebBrowserSiteBase.cs
- wpf-etw.cs
- HwndProxyElementProvider.cs
- PrinterSettings.cs
- Visitors.cs
- PageAsyncTask.cs
- OleServicesContext.cs
- CompilerResults.cs
- ToolStripArrowRenderEventArgs.cs
- HandlerWithFactory.cs
- IndentedTextWriter.cs
- categoryentry.cs
- Ipv6Element.cs
- Quack.cs
- _LazyAsyncResult.cs
- ContextBase.cs
- DataFormats.cs
- SoundPlayer.cs
- ViewStateModeByIdAttribute.cs
- BuildResultCache.cs
- Visual3D.cs
- ConnectionStringsSection.cs
- WsatServiceAddress.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- PersonalizablePropertyEntry.cs
- DecoratedNameAttribute.cs
- ControlBindingsConverter.cs
- ValidateNames.cs
- BreadCrumbTextConverter.cs
- DetailsViewUpdatedEventArgs.cs
- OLEDB_Util.cs
- SettingsBindableAttribute.cs
- DynamicObjectAccessor.cs
- HttpProfileGroupBase.cs
- DataMemberConverter.cs
- BmpBitmapDecoder.cs
- GridViewRowEventArgs.cs
- GridPattern.cs
- ElementMarkupObject.cs
- MessageEnumerator.cs
- returneventsaver.cs
- Int32Storage.cs
- _SecureChannel.cs
- Int64KeyFrameCollection.cs
- OrderPreservingSpoolingTask.cs
- SymbolEqualComparer.cs
- BooleanToVisibilityConverter.cs
- RuntimeWrappedException.cs
- TraceSwitch.cs