Redigera

Dela via


InputMethod.GetPreferredImeSentenceMode(DependencyObject) Method

Definition

Returns the value of the PreferredImeSentenceMode attached property for a specified dependency object.

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

Parameters

target
DependencyObject

The dependency object for which to retrieve the value of PreferredImeSentenceMode.

Returns

A member of the ImeSentenceModeValues enumeration specifying the current PreferredImeSentenceMode for the specified dependency object.

Attributes

Exceptions

Raised when target is null.

Applies to

See also