InputMethod.GetIsInputMethodEnabled(DependencyObject) 方法

定義

傳回所指定相依性物件的 IsInputMethodEnabled 附加屬性值。

public:
 static bool GetIsInputMethodEnabled(System::Windows::DependencyObject ^ target);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static bool GetIsInputMethodEnabled (System.Windows.DependencyObject target);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetIsInputMethodEnabled : System.Windows.DependencyObject -> bool
Public Shared Function GetIsInputMethodEnabled (target As DependencyObject) As Boolean

參數

target
DependencyObject

要擷取 IsInputMethodEnabled 值的相依性物件。

傳回

所指定相依性物件的 IsInputMethodEnabled 目前值。

屬性

例外狀況

targetnull 時引發。

適用於

另請參閱