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
- Validator.cs
- ObjectNotFoundException.cs
- DirectionalLight.cs
- ObjectSelectorEditor.cs
- WindowsToolbarItemAsMenuItem.cs
- WebControl.cs
- QilTypeChecker.cs
- InputScope.cs
- DelimitedListTraceListener.cs
- TabPageDesigner.cs
- RectAnimationUsingKeyFrames.cs
- OuterGlowBitmapEffect.cs
- VirtualPathUtility.cs
- Binding.cs
- ButtonPopupAdapter.cs
- ElementUtil.cs
- TraceContextEventArgs.cs
- OperatingSystem.cs
- ResXBuildProvider.cs
- MultiByteCodec.cs
- CreatingCookieEventArgs.cs
- DataObject.cs
- TextEndOfSegment.cs
- SessionStateContainer.cs
- FlowPosition.cs
- BamlTreeNode.cs
- MenuItemBindingCollection.cs
- ToolStripItemCollection.cs
- OdbcErrorCollection.cs
- AsyncPostBackErrorEventArgs.cs
- SqlDataSourceEnumerator.cs
- SqlXmlStorage.cs
- LoadedOrUnloadedOperation.cs
- DebugViewWriter.cs
- SecurityManager.cs
- GPRECT.cs
- StorageMappingItemLoader.cs
- EncoderReplacementFallback.cs
- ImportFileRequest.cs
- SqlConnectionString.cs
- Byte.cs
- MonikerHelper.cs
- SvcMapFileLoader.cs
- StringConcat.cs
- DynamicObject.cs
- DiagnosticsConfiguration.cs
- SelectionChangedEventArgs.cs
- TokenBasedSetEnumerator.cs
- SqlDataSourceStatusEventArgs.cs
- UIElementParaClient.cs
- DoubleLink.cs
- TextWriterTraceListener.cs
- Site.cs
- CommandExpr.cs
- EmbossBitmapEffect.cs
- ParameterRefs.cs
- LinkConverter.cs
- FormsAuthenticationModule.cs
- ProfileSettingsCollection.cs
- NetworkInformationException.cs
- Int32Collection.cs
- XmlSerializerFactory.cs
- CodeComment.cs
- NestedContainer.cs
- WebEventTraceProvider.cs
- GraphicsPathIterator.cs
- SchemaImporterExtension.cs
- UIElementParagraph.cs
- x509store.cs
- Types.cs
- OLEDB_Enum.cs
- ConfigurationStrings.cs
- ExpandCollapsePattern.cs
- PageThemeParser.cs
- _SecureChannel.cs
- DataGridViewButtonCell.cs
- WebPartCatalogCloseVerb.cs
- Contracts.cs
- SynthesizerStateChangedEventArgs.cs
- MessageBox.cs
- ActiveXMessageFormatter.cs
- TextWriter.cs
- ConfigurationStrings.cs
- ConnectionPointCookie.cs
- RequestStatusBarUpdateEventArgs.cs
- DataObjectAttribute.cs
- activationcontext.cs
- ObjectDataSourceFilteringEventArgs.cs
- ParallelTimeline.cs
- ThousandthOfEmRealDoubles.cs
- DbConnectionStringBuilder.cs
- ListItemCollection.cs
- ImageDrawing.cs
- SyncOperationState.cs
- WorkflowQueue.cs
- FullTrustAssembliesSection.cs
- BatchParser.cs
- CachedRequestParams.cs
- DbReferenceCollection.cs
- XmlnsDictionary.cs