InputMethod.GetPreferredImeSentenceMode(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.