TreeView.ItemContainerStyle Property

Definition

Gets or sets the style that is used when rendering the item containers.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property Style ^ ItemContainerStyle { Style ^ get(); void set(Style ^ value); };
Style ItemContainerStyle();

void ItemContainerStyle(Style value);
public Style ItemContainerStyle { get; set; }
Public Property ItemContainerStyle As Style
<TreeView>
  <TreeView.ItemContainerStyle>
    inlineStyle
  </TreeView.ItemContainerStyle>
</TreeView>

Property Value

The style applied to the item containers. The default is null.

Applies to