InputLanguageManager.SetRestoreInputLanguage Method (DependencyObject, Boolean)

 

Sets the value of the RestoreInputLanguage dependency property on the specified dependency object.

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

public static void SetRestoreInputLanguage(
	DependencyObject target,
	bool restore
)

Parameters

target
Type: System.Windows.DependencyObject

The dependency object for which to set the value of RestoreInputLanguage.

restore
Type: System.Boolean

A Boolean value to set the RestoreInputLanguage attached property to.

Exception Condition
ArgumentNullException

Raised when target is null.

.NET Framework
Available since 3.0
Return to top
Show: