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
- SQLBytes.cs
- SafeUserTokenHandle.cs
- ObjectDataSourceDisposingEventArgs.cs
- Popup.cs
- InternalSafeNativeMethods.cs
- DescendantOverDescendantQuery.cs
- CodeTypeConstructor.cs
- DocumentPageView.cs
- UrlAuthFailedErrorFormatter.cs
- AssociationType.cs
- PriorityQueue.cs
- GridViewColumn.cs
- Directory.cs
- TraceUtility.cs
- ErrorCodes.cs
- AssociationEndMember.cs
- CompatibleComparer.cs
- iisPickupDirectory.cs
- ContentElement.cs
- AsymmetricAlgorithm.cs
- WindowsEditBox.cs
- relpropertyhelper.cs
- PartialArray.cs
- DeviceContext2.cs
- HwndHost.cs
- FontEmbeddingManager.cs
- SynchronizedDispatch.cs
- xmlglyphRunInfo.cs
- TypePresenter.xaml.cs
- SafeCryptoHandles.cs
- XmlSchemaNotation.cs
- RoleManagerModule.cs
- SettingsPropertyNotFoundException.cs
- UniqueSet.cs
- EntityCommandCompilationException.cs
- BulletedList.cs
- DataRecordInfo.cs
- QualifiedCellIdBoolean.cs
- CurrencyWrapper.cs
- AutomationPeer.cs
- XsdCachingReader.cs
- EntityDataSourceSelectingEventArgs.cs
- ExtensionQuery.cs
- MatrixAnimationUsingKeyFrames.cs
- EFTableProvider.cs
- StringSource.cs
- CapiHashAlgorithm.cs
- DictionarySectionHandler.cs
- CssTextWriter.cs
- CriticalFinalizerObject.cs
- AmbiguousMatchException.cs
- MediaCommands.cs
- TraceLevelStore.cs
- HashLookup.cs
- SystemIPInterfaceStatistics.cs
- ProtocolsConfiguration.cs
- ListBindingConverter.cs
- HorizontalAlignConverter.cs
- TraceHandler.cs
- HtmlPageAdapter.cs
- SortFieldComparer.cs
- AnnotationDocumentPaginator.cs
- ButtonField.cs
- CommandValueSerializer.cs
- GridViewAutomationPeer.cs
- ContentElementAutomationPeer.cs
- ConnectionStringSettings.cs
- StaticContext.cs
- StringAttributeCollection.cs
- DataObjectSettingDataEventArgs.cs
- DefaultMemberAttribute.cs
- FuncTypeConverter.cs
- TextPointer.cs
- XmlSerializerFactory.cs
- RegexGroup.cs
- DataTableMappingCollection.cs
- SmtpAuthenticationManager.cs
- SplitterPanel.cs
- RemoteWebConfigurationHostStream.cs
- BindToObject.cs
- RelationshipConstraintValidator.cs
- ListViewItem.cs
- ApplicationInfo.cs
- DoubleAnimation.cs
- BeginGetFileNameFromUserRequest.cs
- ProviderException.cs
- _CookieModule.cs
- UInt32Converter.cs
- HttpRuntimeSection.cs
- StateMachineWorkflowInstance.cs
- FixedHighlight.cs
- FailedToStartupUIException.cs
- GridViewAutomationPeer.cs
- XmlTextAttribute.cs
- SpeechEvent.cs
- ResolveCriteria11.cs
- OpenTypeLayoutCache.cs
- WebResourceAttribute.cs
- StringBlob.cs
- HttpCapabilitiesBase.cs