ControlsHelper.

SetRecognizesAccessKey(UIElement, bool) Method

Summary

Sets the value if the inner ContentPresenter should use AccessText in its style.
Namespace
MahApps.Metro.Controls
Containing Type
ControlsHelper

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(ContentControl))]
[AttachedPropertyBrowsableForType(typeof(DropDownButton))]
[AttachedPropertyBrowsableForType(typeof(SplitButton))]
public static void SetRecognizesAccessKey(UIElement element, bool value)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement
value bool

Return Value

Type Description
void