ToggleButtonHelper.

GetContentDirection(UIElement) Method

Summary

This property can be used to handle the style for CheckBox and RadioButton LeftToRight means content left and button right and RightToLeft vise versa
Namespace
MahApps.Metro.Controls
Containing Type
ToggleButtonHelper

Syntax

[AttachedPropertyBrowsableForType(typeof(ToggleButton))]
[AttachedPropertyBrowsableForType(typeof(RadioButton))]
[Category(AppName.MahApps)]
public static FlowDirection GetContentDirection(UIElement element)

Attributes

Type Description
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType
Category

Parameters

Name Type Description
element UIElement

Return Value

Type Description
FlowDirection