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

适用于