UIElement.AccessKeyScopeOwner Property

Definition

Gets or sets a source element that provides the access key scope for this element, even if it's not in the visual tree of the source element.

Equivalent WinUI property: Microsoft.UI.Xaml.UIElement.AccessKeyScopeOwner.

public:
 property DependencyObject ^ AccessKeyScopeOwner { DependencyObject ^ get(); void set(DependencyObject ^ value); };
DependencyObject AccessKeyScopeOwner();

void AccessKeyScopeOwner(DependencyObject value);
public DependencyObject AccessKeyScopeOwner { get; set; }
var dependencyObject = uIElement.accessKeyScopeOwner;
uIElement.accessKeyScopeOwner = dependencyObject;
Public Property AccessKeyScopeOwner As DependencyObject

Property Value

DependencyObject

The element that defines the access key scope.

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

The source element must have it's IsAccessKeyScope property set to true.

Applies to

See also