TreeViewItemHelper.

SetToggleButtonStyle(UIElement, Style) Method

Summary

Sets the toggle button style used for the TreeViewItem expander.
Namespace
MahApps.Metro.Controls
Containing Type
TreeViewItemHelper

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(TreeViewItem))]
public static void SetToggleButtonStyle(UIElement element, Style value)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement
value Style

Return Value

Type Description
void