TextElement.AllowFocusOnInteraction 属性

定义

获取或设置一个值,该值指示当用户与元素交互时是否自动获得焦点。

public:
 property bool AllowFocusOnInteraction { bool get(); void set(bool value); };
bool AllowFocusOnInteraction();

void AllowFocusOnInteraction(bool value);
public bool AllowFocusOnInteraction { get; set; }
var boolean = textElement.allowFocusOnInteraction;
textElement.allowFocusOnInteraction = boolean;
Public Property AllowFocusOnInteraction As Boolean
<textElementAllowFocusOnInteraction="bool"/>

属性值

Boolean

bool

如果用户与元素交互时获得焦点,则为 true;否则为 false

适用于