TextElement.AccessKeyScopeOwner 属性

定义

获取或设置一个源元素,该元素提供此元素的访问键范围,即使它不在源元素的可视化树中也是如此。

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

属性值

定义访问键范围的元素。

注解

源元素的 IsAccessKeyScope 属性必须设置为 true

适用于

另请参阅