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
- DiscardableAttribute.cs
- StrongNameKeyPair.cs
- Char.cs
- SymmetricSecurityProtocolFactory.cs
- HtmlString.cs
- Panel.cs
- ImportContext.cs
- ImageSourceValueSerializer.cs
- WriteTimeStream.cs
- FormsAuthenticationUser.cs
- ProcessHostServerConfig.cs
- LiteralTextParser.cs
- TextTreeNode.cs
- CompositeKey.cs
- PenThreadWorker.cs
- _TLSstream.cs
- DrawingContextWalker.cs
- ClientBuildManagerCallback.cs
- ISessionStateStore.cs
- OfTypeExpression.cs
- CopyAttributesAction.cs
- ComponentConverter.cs
- ApplicationTrust.cs
- HttpStreamXmlDictionaryWriter.cs
- ImageCodecInfoPrivate.cs
- dataSvcMapFileLoader.cs
- TabRenderer.cs
- ActiveXHost.cs
- KeyInterop.cs
- Quaternion.cs
- SiteMapNodeCollection.cs
- MSAAEventDispatcher.cs
- IISMapPath.cs
- TypeDescriptor.cs
- RegexCompilationInfo.cs
- DictionaryManager.cs
- ObjectListCommandCollection.cs
- XmlSchemaObject.cs
- RSAPKCS1KeyExchangeFormatter.cs
- BitmapFrame.cs
- Model3DGroup.cs
- AsyncStreamReader.cs
- StoreItemCollection.cs
- SelectionEditingBehavior.cs
- DBCommandBuilder.cs
- httpserverutility.cs
- DataColumnCollection.cs
- CqlParser.cs
- SettingsBase.cs
- XmlSerializationReader.cs
- FormatException.cs
- BinaryCommonClasses.cs
- SqlUserDefinedTypeAttribute.cs
- VBIdentifierName.cs
- MultiTrigger.cs
- MultiSelector.cs
- WsiProfilesElementCollection.cs
- SafeWaitHandle.cs
- EventlogProvider.cs
- PropagatorResult.cs
- WebPartEditorOkVerb.cs
- PathFigureCollection.cs
- SqlTriggerContext.cs
- OptimizerPatterns.cs
- DataConnectionHelper.cs
- Graphics.cs
- Rotation3D.cs
- FieldAccessException.cs
- CategoryGridEntry.cs
- RetrieveVirtualItemEventArgs.cs
- CqlQuery.cs
- RTLAwareMessageBox.cs
- DeadCharTextComposition.cs
- QueryCacheEntry.cs
- DependencyProperty.cs
- ServiceInfo.cs
- SchemaMerger.cs
- DocumentCollection.cs
- BindUriHelper.cs
- AggregateNode.cs
- DateTimeFormatInfo.cs
- WindowsListViewGroup.cs
- ConfigurationProperty.cs
- configsystem.cs
- Control.cs
- UntypedNullExpression.cs
- TreeViewAutomationPeer.cs
- ServiceHostFactory.cs
- RuntimeCompatibilityAttribute.cs
- ComplusEndpointConfigContainer.cs
- FixedTextPointer.cs
- Internal.cs
- MultiByteCodec.cs
- EventMappingSettingsCollection.cs
- RenderDataDrawingContext.cs
- TextTreeFixupNode.cs
- BindingContext.cs
- AutomationPeer.cs
- TextEditorThreadLocalStore.cs
- ChooseAction.cs