Skip to content

TreeViewItem.IconVisibilityProperty field

Defined in

Type: TreeViewItem Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public static readonly DependencyProperty IconVisibilityProperty

Summary: Identifies the IconVisibility dependency property, which determines whether the icon associated with the TreeViewItem is visible.

Remarks

The IconVisibilityProperty is used to control the display state of the icon within a TreeViewItem. By default, the icon is collapsed. Setting this property to Visible will display the icon, while Collapsed or Hidden will hide it. This property can be used in styles, templates, or code to customize the appearance of TreeViewItem controls.