IInputElement.Focusable 屬性

定義

取得或設定值,指出焦點可否設在這個項目。Gets or sets a value that indicates whether focus can be set to this element.

public:
 property bool Focusable { bool get(); void set(bool value); };
public bool Focusable { get; set; }
member this.Focusable : bool with get, set
Public Property Focusable As Boolean

屬性值

如果可將焦點設定到此項目上則為 true,否則為 falsetrue if the element can have focus set to it; otherwise, false.

備註

此介面不適用於公用的執行。This interface is not intended for public implementation. 如需詳細資訊, 請參閱IInputElement介面的備註。For more information, see remarks for the IInputElement interface.

核心中的Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF)現有實現 (請ContentElement.Focusable參閱UIElement.Focusable和) 會將此屬性建立為相依性屬性。Existing implementations in the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) core (see ContentElement.Focusable and UIElement.Focusable) establish this property as a dependency property.

適用於

另請參閱