wpf-devexpress-dot-xpf-dot-propertygrid-dot-collectionbuttonsvisibilityeventargs.md
Gets or sets whether to display the collection button.
Namespace : DevExpress.Xpf.PropertyGrid
Assembly : DevExpress.Xpf.PropertyGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PropertyGrid
public bool IsVisible { get; set; }
Public Property IsVisible As Boolean
| Type | Description |
|---|---|
| Boolean |
true to display the collection button; otherwise, false.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsVisible property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-property-grid-specify-custom-collection-edit-actions/CS/MainWindow.xaml.cs#L27
if (issue != null && issueView != null && !string.Equals(issue.Owner, issueView.UserName))
e.IsVisible = false;
}
wpf-property-grid-specify-custom-collection-edit-actions/VB/MainWindow.xaml.vb#L20
Dim issue = TryCast(e.Value, Issue)
If issue IsNot Nothing AndAlso issueView IsNot Nothing AndAlso Not String.Equals(issue.Owner, issueView.UserName) Then e.IsVisible = False
End If
See Also
CollectionButtonsVisibilityEventArgs Class