ControlsHelper.

GetDisabledVisualElementVisibility(UIElement) Method

Summary

Gets the value to handle the visibility of the DisabledVisualElement in the template.
Namespace
MahApps.Metro.Controls
Containing Type
ControlsHelper

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(TextBoxBase))]
[AttachedPropertyBrowsableForType(typeof(PasswordBox))]
[AttachedPropertyBrowsableForType(typeof(NumericUpDown))]
public static Visibility GetDisabledVisualElementVisibility(UIElement element)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement

Return Value

Type Description
Visibility