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
- CodeTypeReferenceExpression.cs
- Brush.cs
- DependencyObject.cs
- KeyedHashAlgorithm.cs
- BasicCommandTreeVisitor.cs
- ButtonRenderer.cs
- Rect.cs
- AuthStoreRoleProvider.cs
- FlowStep.cs
- Win32KeyboardDevice.cs
- HebrewCalendar.cs
- ReadContentAsBinaryHelper.cs
- DataGridLinkButton.cs
- RedBlackList.cs
- MsmqIntegrationReceiveParameters.cs
- ImageListUtils.cs
- SqlUserDefinedAggregateAttribute.cs
- VersionedStream.cs
- ImageBrush.cs
- PropertyGeneratedEventArgs.cs
- RenamedEventArgs.cs
- ChannelManager.cs
- IconBitmapDecoder.cs
- ForwardPositionQuery.cs
- NotFiniteNumberException.cs
- SoapException.cs
- TableRow.cs
- Parser.cs
- PathGeometry.cs
- DesignTimeHTMLTextWriter.cs
- LocalBuilder.cs
- BezierSegment.cs
- StringResourceManager.cs
- WebPartPersonalization.cs
- PeerCustomResolverBindingElement.cs
- IisTraceListener.cs
- SecurityUtils.cs
- RpcResponse.cs
- TraceContext.cs
- TableLayoutPanelResizeGlyph.cs
- ObjectResult.cs
- ContainerActivationHelper.cs
- StoreContentChangedEventArgs.cs
- ZipIOCentralDirectoryFileHeader.cs
- TextEffectResolver.cs
- BindingExpression.cs
- SafeRightsManagementEnvironmentHandle.cs
- DrawTreeNodeEventArgs.cs
- CallbackValidator.cs
- CodeVariableReferenceExpression.cs
- OleDbConnection.cs
- StyleModeStack.cs
- TableLayoutStyle.cs
- NativeMethodsCLR.cs
- HwndSourceParameters.cs
- SetterTriggerConditionValueConverter.cs
- CurrencyManager.cs
- WhitespaceRule.cs
- COM2IPerPropertyBrowsingHandler.cs
- DataGridViewSelectedCellCollection.cs
- EntityCommandCompilationException.cs
- GeneralTransform3DTo2D.cs
- ImageSource.cs
- RegexCompiler.cs
- TransformGroup.cs
- BoundPropertyEntry.cs
- TimeSpanFormat.cs
- ImageButton.cs
- GacUtil.cs
- SQLInt64.cs
- Crypto.cs
- AggregationMinMaxHelpers.cs
- ListViewPagedDataSource.cs
- BindingOperations.cs
- EncryptedXml.cs
- NotFiniteNumberException.cs
- RepeaterItem.cs
- DataRowChangeEvent.cs
- RoleService.cs
- NameValuePair.cs
- Merger.cs
- XmlSignatureProperties.cs
- InvokeWebService.cs
- CollectionType.cs
- SplayTreeNode.cs
- ChameleonKey.cs
- DataGridViewCell.cs
- SqlDataSourceConfigureSelectPanel.cs
- StylusTip.cs
- MasterPage.cs
- TextFormatterHost.cs
- FormatStringEditor.cs
- RecommendedAsConfigurableAttribute.cs
- Scene3D.cs
- ItemTypeToolStripMenuItem.cs
- Metadata.cs
- SerializationInfoEnumerator.cs
- GACIdentityPermission.cs
- Axis.cs
- CodeAttachEventStatement.cs