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
- DecimalAnimation.cs
- MethodSignatureGenerator.cs
- DataBoundControl.cs
- HttpResponse.cs
- SkewTransform.cs
- BulletChrome.cs
- RenderOptions.cs
- ActivityInstanceMap.cs
- DataGridViewElement.cs
- NameNode.cs
- SrgsDocumentParser.cs
- DesignerActionListCollection.cs
- WindowsScrollBar.cs
- Msec.cs
- GridViewPageEventArgs.cs
- InternalResources.cs
- SharedDp.cs
- ChannelHandler.cs
- BypassElement.cs
- reliableinputsessionchannel.cs
- PerformanceCounterCategory.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- TextRangeSerialization.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- FilterElement.cs
- WorkflowInstanceTerminatedRecord.cs
- DataView.cs
- QueueProcessor.cs
- AttachmentCollection.cs
- CommandValueSerializer.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- NTAccount.cs
- IsolatedStorageFilePermission.cs
- DoWorkEventArgs.cs
- ThemeableAttribute.cs
- ProjectionPathBuilder.cs
- InvalidWMPVersionException.cs
- ConnectionStringsSection.cs
- ipaddressinformationcollection.cs
- CaseKeyBox.ViewModel.cs
- WebPageTraceListener.cs
- HostingPreferredMapPath.cs
- StringPropertyBuilder.cs
- ConsoleTraceListener.cs
- BitConverter.cs
- MimeTypeAttribute.cs
- MonthCalendar.cs
- CodeDomSerializerBase.cs
- X509Extension.cs
- ViewGenerator.cs
- GenericWebPart.cs
- CompiledRegexRunner.cs
- FontStyleConverter.cs
- EditCommandColumn.cs
- ListSortDescription.cs
- FormatterConverter.cs
- DbgUtil.cs
- MatrixTransform.cs
- AsyncResult.cs
- RouteTable.cs
- SafeNativeMethods.cs
- ClientSettingsSection.cs
- TraceContextRecord.cs
- EndPoint.cs
- XmlSchemaAnnotation.cs
- GlyphTypeface.cs
- PenThreadPool.cs
- MobileResource.cs
- TypeBuilderInstantiation.cs
- OperatingSystemVersionCheck.cs
- SqlCaseSimplifier.cs
- TextTreePropertyUndoUnit.cs
- InputLanguageCollection.cs
- handlecollector.cs
- RegionInfo.cs
- RegisteredExpandoAttribute.cs
- MemoryFailPoint.cs
- SemanticBasicElement.cs
- WindowsGraphicsCacheManager.cs
- NativeObjectSecurity.cs
- OdbcPermission.cs
- NativeMethodsCLR.cs
- ExpressionEvaluator.cs
- ZeroOpNode.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- PageCanvasSize.cs
- DataGrid.cs
- BrowsableAttribute.cs
- SlipBehavior.cs
- RetrieveVirtualItemEventArgs.cs
- NetCodeGroup.cs
- EnumValAlphaComparer.cs
- ViewManager.cs
- Soap.cs
- Header.cs
- TemplateNameScope.cs
- GetChildSubtree.cs
- SimpleTextLine.cs
- PlatformNotSupportedException.cs
- ColorBlend.cs