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
- DataRow.cs
- X509Utils.cs
- CodeArrayIndexerExpression.cs
- RemotingAttributes.cs
- AuthorizationRuleCollection.cs
- EntityDataSourceSelectedEventArgs.cs
- GridViewItemAutomationPeer.cs
- CodeGen.cs
- RuntimeResourceSet.cs
- TableCell.cs
- Thickness.cs
- AdPostCacheSubstitution.cs
- PasswordBoxAutomationPeer.cs
- BinaryObjectWriter.cs
- SourceLocationProvider.cs
- ContextMarshalException.cs
- ActivitiesCollection.cs
- TailPinnedEventArgs.cs
- Span.cs
- HttpCapabilitiesEvaluator.cs
- CustomErrorsSectionWrapper.cs
- ConfigXmlWhitespace.cs
- ClientScriptItemCollection.cs
- RouteValueExpressionBuilder.cs
- WebHttpSecurity.cs
- HtmlImage.cs
- ZeroOpNode.cs
- SiteMapPath.cs
- TextSelectionHighlightLayer.cs
- SoapAttributes.cs
- StickyNoteContentControl.cs
- MdiWindowListStrip.cs
- Dictionary.cs
- ShaderEffect.cs
- TransportConfigurationTypeElementCollection.cs
- UiaCoreProviderApi.cs
- XmlSchemaAttributeGroupRef.cs
- counter.cs
- MimeXmlReflector.cs
- XmlSignificantWhitespace.cs
- XmlSchemaComplexContentRestriction.cs
- SqlCacheDependencySection.cs
- EditableTreeList.cs
- AutoGeneratedFieldProperties.cs
- StyleHelper.cs
- SmtpFailedRecipientsException.cs
- TransactedBatchingBehavior.cs
- TreeView.cs
- TextEditorMouse.cs
- ThrowHelper.cs
- UnaryNode.cs
- EventWaitHandle.cs
- XmlSchemaInclude.cs
- TCPListener.cs
- ServiceDescriptions.cs
- ToolboxBitmapAttribute.cs
- XsltContext.cs
- XsltSettings.cs
- WindowPattern.cs
- SocketElement.cs
- HttpListenerContext.cs
- URI.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ListSourceHelper.cs
- FormatSettings.cs
- BindingMemberInfo.cs
- QuaternionRotation3D.cs
- WebServiceEnumData.cs
- LowerCaseStringConverter.cs
- DependencyPropertyValueSerializer.cs
- InternalConfigEventArgs.cs
- NativeMethods.cs
- LinqDataSourceSelectEventArgs.cs
- IsolatedStorage.cs
- EntityViewGenerator.cs
- XD.cs
- HandleCollector.cs
- SqlProfileProvider.cs
- InstanceCreationEditor.cs
- ComponentCodeDomSerializer.cs
- ManagementBaseObject.cs
- PasswordPropertyTextAttribute.cs
- Point.cs
- Literal.cs
- StdValidatorsAndConverters.cs
- MethodAccessException.cs
- View.cs
- GridViewCellAutomationPeer.cs
- BadImageFormatException.cs
- SchemaCreator.cs
- WebPartEventArgs.cs
- PngBitmapDecoder.cs
- TextSegment.cs
- DoubleLinkListEnumerator.cs
- TextTreeText.cs
- CannotUnloadAppDomainException.cs
- InputLanguageProfileNotifySink.cs
- WithStatement.cs
- DataGridViewCellValueEventArgs.cs
- ListControlConvertEventArgs.cs