InputMethod.PreferredImeSentenceMode Attached Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets a preferred ImeSentenceModeValues value for a specified dependency object.

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

See GetPreferredImeSentenceMode, SetPreferredImeSentenceMode

Property Value

Type: System.Windows.Input.ImeSentenceModeValues

A member of the ImeSentenceModeValues specifying the preferred sentence mode for a specified dependency object.

This is an attached property. Use the GetPreferredImeSentenceMode and SetPreferredImeSentenceMode methods to set or read this attached property on a specified dependency object.

When this property is attached to a UIElement, the input method automatically switches to the preferred sentence mode when that UIElement gets the focus.

Return to top