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
- QueryOutputWriter.cs
- NegotiateStream.cs
- objectresult_tresulttype.cs
- SoapObjectReader.cs
- CommandExpr.cs
- Attribute.cs
- UInt32Storage.cs
- CommandLibraryHelper.cs
- BindingMemberInfo.cs
- ProviderMetadata.cs
- ElementNotAvailableException.cs
- IdentityNotMappedException.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- SByteConverter.cs
- userdatakeys.cs
- EndpointDiscoveryMetadata11.cs
- RotateTransform.cs
- UpdatePanelTrigger.cs
- PeerName.cs
- OpenFileDialog.cs
- HelpPage.cs
- ReflectEventDescriptor.cs
- Light.cs
- DataObjectEventArgs.cs
- XmlTextReaderImplHelpers.cs
- XmlConverter.cs
- ProfessionalColorTable.cs
- ResXResourceWriter.cs
- DataGridTextBox.cs
- NativeMethods.cs
- StringComparer.cs
- tooltip.cs
- DecoderFallbackWithFailureFlag.cs
- AxisAngleRotation3D.cs
- ReaderWriterLockSlim.cs
- indexingfiltermarshaler.cs
- RowToParametersTransformer.cs
- ButtonAutomationPeer.cs
- PropertyCondition.cs
- AnimationClockResource.cs
- CodePageUtils.cs
- SqlLiftIndependentRowExpressions.cs
- PageTheme.cs
- IProvider.cs
- FunctionQuery.cs
- RequestQueue.cs
- ContractInstanceProvider.cs
- Page.cs
- Button.cs
- TemplateBindingExpression.cs
- Point3DAnimation.cs
- CreateRefExpr.cs
- PermissionRequestEvidence.cs
- WmlCalendarAdapter.cs
- XmlSchemas.cs
- NameTable.cs
- SharedConnectionInfo.cs
- AspNetSynchronizationContext.cs
- _SpnDictionary.cs
- KnownTypes.cs
- GridViewDeletedEventArgs.cs
- XmlSchemaAnnotated.cs
- SQLByte.cs
- GeometryValueSerializer.cs
- StateInitializationDesigner.cs
- CalendarAutomationPeer.cs
- WmfPlaceableFileHeader.cs
- _Events.cs
- SchemaDeclBase.cs
- ReferencedAssemblyResolver.cs
- EncodingDataItem.cs
- XmlChoiceIdentifierAttribute.cs
- SqlTriggerAttribute.cs
- ErrorRuntimeConfig.cs
- RichTextBox.cs
- InlineObject.cs
- DataBindingHandlerAttribute.cs
- PropertiesTab.cs
- XMLUtil.cs
- DateTimeConverter2.cs
- WebPartVerbsEventArgs.cs
- PointCollectionValueSerializer.cs
- Pen.cs
- ReadWriteControlDesigner.cs
- WebPartConnectionsCancelEventArgs.cs
- SymmetricCryptoHandle.cs
- RelatedImageListAttribute.cs
- LoginUtil.cs
- PenThreadWorker.cs
- SqlClientPermission.cs
- DatatypeImplementation.cs
- ValidationResult.cs
- ParserExtension.cs
- StackOverflowException.cs
- GrabHandleGlyph.cs
- MetadataExchangeClient.cs
- CodeExpressionCollection.cs
- OracleInternalConnection.cs
- Set.cs
- SizeConverter.cs