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
- ValueUtilsSmi.cs
- EncryptedReference.cs
- ReferenceConverter.cs
- CaseInsensitiveHashCodeProvider.cs
- SecurityPolicySection.cs
- ServiceReference.cs
- GridViewSelectEventArgs.cs
- UrlParameterWriter.cs
- Attributes.cs
- ToolStripContentPanelRenderEventArgs.cs
- metrodevice.cs
- ProgressChangedEventArgs.cs
- CursorInteropHelper.cs
- MobileUITypeEditor.cs
- BasicExpressionVisitor.cs
- NetworkAddressChange.cs
- TargetFrameworkAttribute.cs
- Merger.cs
- EntityException.cs
- ParallelEnumerableWrapper.cs
- ContentWrapperAttribute.cs
- Command.cs
- keycontainerpermission.cs
- CompositeFontParser.cs
- ImageBrush.cs
- EdmMember.cs
- ChangeConflicts.cs
- SafeMemoryMappedViewHandle.cs
- DocumentGrid.cs
- ContactManager.cs
- RequestTimeoutManager.cs
- HeaderedItemsControl.cs
- SchemaNamespaceManager.cs
- CleanUpVirtualizedItemEventArgs.cs
- DeleteCardRequest.cs
- DrawTreeNodeEventArgs.cs
- PrimitiveCodeDomSerializer.cs
- ColorTransform.cs
- TextPattern.cs
- CombinedGeometry.cs
- ObjectSecurity.cs
- AnnotationComponentManager.cs
- WebServiceParameterData.cs
- TableCell.cs
- RoleManagerSection.cs
- TransformerTypeCollection.cs
- SystemIcmpV6Statistics.cs
- RadioButton.cs
- ZipIOBlockManager.cs
- CodePropertyReferenceExpression.cs
- PrintDialog.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- ReachDocumentPageSerializerAsync.cs
- EntityCollection.cs
- AnonymousIdentificationModule.cs
- ScrollPattern.cs
- Bitmap.cs
- _ShellExpression.cs
- IfJoinedCondition.cs
- PlaceHolder.cs
- TTSVoice.cs
- elementinformation.cs
- MulticastDelegate.cs
- XmlStreamNodeWriter.cs
- LongTypeConverter.cs
- ClassDataContract.cs
- BasePattern.cs
- CompoundFileDeflateTransform.cs
- Serializer.cs
- StaticExtension.cs
- HitTestParameters3D.cs
- ObjectDataSourceFilteringEventArgs.cs
- CodeDirectionExpression.cs
- XmlSignatureProperties.cs
- peersecurityelement.cs
- TransformValueSerializer.cs
- TextServicesLoader.cs
- IfAction.cs
- BeginStoryboard.cs
- TextServicesPropertyRanges.cs
- ISFClipboardData.cs
- InvalidWMPVersionException.cs
- FileChangesMonitor.cs
- DataBindingCollectionConverter.cs
- FtpCachePolicyElement.cs
- SecurityContextTokenCache.cs
- SQLRoleProvider.cs
- ToolboxItemImageConverter.cs
- VirtualDirectoryMapping.cs
- DataSvcMapFileSerializer.cs
- ChannelManager.cs
- ProviderUtil.cs
- DataProtectionSecurityStateEncoder.cs
- HostingMessageProperty.cs
- DrawingContextDrawingContextWalker.cs
- PreservationFileReader.cs
- EventLogEntryCollection.cs
- Light.cs
- DbExpressionVisitor_TResultType.cs
- RootAction.cs