PropertyGrid.BrowsableAttributes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the browsable attributes associated with the object that the property grid is attached to.
public:
property System::ComponentModel::AttributeCollection ^ BrowsableAttributes { System::ComponentModel::AttributeCollection ^ get(); void set(System::ComponentModel::AttributeCollection ^ value); };
[System.ComponentModel.Browsable(false)]
public System.ComponentModel.AttributeCollection BrowsableAttributes { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.BrowsableAttributes : System.ComponentModel.AttributeCollection with get, set
Public Property BrowsableAttributes As AttributeCollection
Property Value
The collection of browsable attributes associated with the object.
- Attributes
Remarks
Only properties with attributes matching the values specified are displayed in the PropertyGrid. The default is an AttributeCollection containing only BrowsableAttribute.Yes.
Assigning an attribute collection that is empty or is null
causes a new AttributeCollection to be created with BrowsableAttribute.Yes set.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om