共用方式為


FlyoutBase.AllowFocusWhenDisabled 屬性

定義

取得或設定值,指定控制項在停用時是否可以接收焦點。

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

void AllowFocusWhenDisabled(bool value);
public bool AllowFocusWhenDisabled { get; set; }
var boolean = flyoutBase.allowFocusWhenDisabled;
flyoutBase.allowFocusWhenDisabled = boolean;
Public Property AllowFocusWhenDisabled As Boolean

屬性值

Boolean

bool

如果控制項在停用時可以接收焦點,則為true;否則為false

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

適用於