TreeView.ItemContainerStyle 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 style that is used when rendering the item containers.
public:
property Style ^ ItemContainerStyle { Style ^ get(); void set(Style ^ value); };
Style ItemContainerStyle();
void ItemContainerStyle(Style value);
public Style ItemContainerStyle { get; set; }
var style = treeView.itemContainerStyle;
treeView.itemContainerStyle = style;
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.