Code:
/ DotNET / DotNET / 8.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
- cache.cs
- ErrorHandler.cs
- RoleService.cs
- SmtpMail.cs
- ReferenceEqualityComparer.cs
- oledbmetadatacolumnnames.cs
- TableLayoutColumnStyleCollection.cs
- DataSourceControl.cs
- CodeGeneratorOptions.cs
- DrawingContextDrawingContextWalker.cs
- Repeater.cs
- HttpProfileGroupBase.cs
- XmlSerializationWriter.cs
- ApplicationInfo.cs
- MimeXmlReflector.cs
- ToolStripManager.cs
- AppDomain.cs
- NativeRightsManagementAPIsStructures.cs
- JavaScriptString.cs
- WorkflowApplicationAbortedException.cs
- DesignSurfaceManager.cs
- BinaryParser.cs
- DecodeHelper.cs
- ContentElement.cs
- PropertyKey.cs
- AliasGenerator.cs
- ByteConverter.cs
- Adorner.cs
- WebPartConnectionsDisconnectVerb.cs
- CommandField.cs
- AnnotationResource.cs
- CompModSwitches.cs
- UnitySerializationHolder.cs
- LinearGradientBrush.cs
- SuppressIldasmAttribute.cs
- DataSourceControl.cs
- AppSettingsExpressionBuilder.cs
- PermissionSetEnumerator.cs
- Parsers.cs
- NamedPipeChannelFactory.cs
- CurrentChangingEventArgs.cs
- Win32SafeHandles.cs
- ConfigurationValidatorAttribute.cs
- SettingsPropertyWrongTypeException.cs
- TextEffectResolver.cs
- XmlElementAttribute.cs
- TemplateParser.cs
- HelpFileFileNameEditor.cs
- SafeSecurityHandles.cs
- BreakRecordTable.cs
- EncoderExceptionFallback.cs
- PackWebResponse.cs
- TraceSource.cs
- RegionData.cs
- TranslateTransform3D.cs
- MethodBuilderInstantiation.cs
- ToolboxItemLoader.cs
- ViewStateModeByIdAttribute.cs
- DbConnectionFactory.cs
- ComPlusServiceLoader.cs
- AbsoluteQuery.cs
- ChangePassword.cs
- SupportsEventValidationAttribute.cs
- FrameAutomationPeer.cs
- KeyValueConfigurationCollection.cs
- FixedSOMTableRow.cs
- HashAlgorithm.cs
- SmtpMail.cs
- MenuCommands.cs
- DiagnosticsConfigurationHandler.cs
- ModelVisual3D.cs
- StaticFileHandler.cs
- MultiTouchSystemGestureLogic.cs
- PropertyDescriptorGridEntry.cs
- HtmlTableRow.cs
- PathSegment.cs
- Memoizer.cs
- __ComObject.cs
- _OverlappedAsyncResult.cs
- InvariantComparer.cs
- DataGridViewRowsRemovedEventArgs.cs
- InputReportEventArgs.cs
- PowerStatus.cs
- WebPartUserCapability.cs
- QueueProcessor.cs
- GenericWebPart.cs
- NavigationWindowAutomationPeer.cs
- TableCellCollection.cs
- AssemblyAttributesGoHere.cs
- HotCommands.cs
- storepermissionattribute.cs
- LabelDesigner.cs
- SecureStringHasher.cs
- DependencyObjectPropertyDescriptor.cs
- LinearGradientBrush.cs
- CookieHandler.cs
- BinaryUtilClasses.cs
- PersonalizableTypeEntry.cs
- InternalSafeNativeMethods.cs
- UnsafeNativeMethods.cs