Dela via


TextElement.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.

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

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

Property Value

The element that defines the access key scope.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

The source element must have its IsAccessKeyScope property set to true.

Applies to

See also