wpf-devexpress-dot-xpf-dot-bars-dot-baritem-a440c591.md
Gets or sets whether links that refer to the current item are visible. This is a dependency property.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public bool IsVisible { get; set; }
Public Property IsVisible As Boolean
| Type | Description |
|---|---|
| Boolean |
true if links that refer to the current item are visible; otherwise, false.
|
You can set a link’s BarItemLinkBase.IsVisible property to false to hide it. In this case, the link is hidden even if a bar item’s BarItem.IsVisible property is set to true.
Use the Customization Window to access hidden items and add them to bars at runtime.
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.
mvvm-application-with-wpf-bars/CS/Bars_in_MVVM_Application/MainWindow.xaml#L62
<dxb:BarItemSeparator/>
<dxb:BarEditItem x:Name="tags" Content="Tags: " EditValue="{Binding SelectedIssue.Tags}" IsVisible="{DXBinding 'SelectedIssue != null'}">
<dxb:BarEditItem.EditSettings>
See Also