InputMethod::GetPreferredImeState Method (DependencyObject^)
.NET Framework (current version)
Returns the value of the PreferredImeState attached property for a specified dependency object.
Assembly: PresentationCore (in PresentationCore.dll)
public: [AttachedPropertyBrowsableForTypeAttribute((DependencyObject^::typeid))] static InputMethodState GetPreferredImeState( DependencyObject^ target )
Parameters
- target
-
Type:
System.Windows::DependencyObject^
The dependency object for which to retrieve the value of PreferredImeState.
Return Value
Type: System.Windows.Input::InputMethodStateA member of the InputMethodState enumeration specifying the current PreferredImeState for the specified dependency object.
| Exception | Condition |
|---|---|
| ArgumentNullException | Raised when target is null. |
.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Show: