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
- BamlLocalizabilityResolver.cs
- FieldAccessException.cs
- HelloMessageCD1.cs
- ReaderWriterLock.cs
- WpfSharedXamlSchemaContext.cs
- _SslSessionsCache.cs
- DLinqTableProvider.cs
- DispatcherExceptionEventArgs.cs
- SiteMapNode.cs
- RectangleGeometry.cs
- TypeReference.cs
- TypePresenter.xaml.cs
- DetailsViewRow.cs
- EventManager.cs
- WmfPlaceableFileHeader.cs
- Utils.cs
- CorrelationTokenInvalidatedHandler.cs
- AttachmentCollection.cs
- CngKeyBlobFormat.cs
- WebPartsPersonalization.cs
- FilterException.cs
- AdapterUtil.cs
- Button.cs
- DeclaredTypeElement.cs
- DataContractSerializerServiceBehavior.cs
- ValidationSummary.cs
- ConnectionManagementElement.cs
- DesignOnlyAttribute.cs
- AppSettingsExpressionEditor.cs
- WmlPageAdapter.cs
- SoapProcessingBehavior.cs
- SimpleTypeResolver.cs
- MailWebEventProvider.cs
- PersonalizationDictionary.cs
- Nullable.cs
- CommonXSendMessage.cs
- ExecutionEngineException.cs
- AtomPub10CategoriesDocumentFormatter.cs
- ReadOnlyHierarchicalDataSource.cs
- BypassElement.cs
- XPathNavigatorKeyComparer.cs
- FacetDescription.cs
- OleDbParameter.cs
- HatchBrush.cs
- ConfigurationLocation.cs
- Package.cs
- XhtmlBasicValidatorAdapter.cs
- RegisteredScript.cs
- SHA512CryptoServiceProvider.cs
- TargetConverter.cs
- TextBoxView.cs
- ManagedFilter.cs
- FramingEncoders.cs
- CqlWriter.cs
- NameTable.cs
- ViewUtilities.cs
- StringUtil.cs
- ApplicationFileParser.cs
- SimpleFileLog.cs
- AlignmentXValidation.cs
- Transform.cs
- FrameAutomationPeer.cs
- MethodBuilder.cs
- XmlBaseReader.cs
- ScriptingRoleServiceSection.cs
- Deflater.cs
- BookmarkScopeHandle.cs
- Int64AnimationUsingKeyFrames.cs
- Accessible.cs
- XmlDownloadManager.cs
- TypedElement.cs
- WsatServiceAddress.cs
- DataGridViewTextBoxEditingControl.cs
- filewebrequest.cs
- RangeBaseAutomationPeer.cs
- Window.cs
- ValidatorCompatibilityHelper.cs
- SoapAttributes.cs
- Sentence.cs
- BrowserDefinition.cs
- DataViewManager.cs
- ProfileModule.cs
- DynamicField.cs
- WebPartTransformerAttribute.cs
- ChangeBlockUndoRecord.cs
- LinkGrep.cs
- ReturnType.cs
- ConfigsHelper.cs
- PropertyChangeTracker.cs
- UserNameServiceElement.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- CompressedStack.cs
- SqlClientWrapperSmiStream.cs
- Schema.cs
- HtmlFormAdapter.cs
- PrintPageEvent.cs
- Point3DAnimationBase.cs
- AnnotationObservableCollection.cs
- EventTrigger.cs
- sqlstateclientmanager.cs