InputMethod::GetPreferredImeSentenceMode Method (DependencyObject^)

 

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

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public:
[AttachedPropertyBrowsableForTypeAttribute((DependencyObject^::typeid))]
static ImeSentenceModeValues GetPreferredImeSentenceMode(
	DependencyObject^ target
)

Parameters

target
Type: System.Windows::DependencyObject^

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

Return Value

Type: System.Windows.Input::ImeSentenceModeValues

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

Exception Condition
ArgumentNullException

Raised when target is null.

.NET Framework
Available since 3.0
Return to top
Show: