Table of Contents

Class FocusHelper

Namespace
Loehnert.Utility.Wpf
Assembly
Loehnert.Utility.dll

Class contains helper methods for focus.

public static class FocusHelper
Inheritance
FocusHelper
Inherited Members

Methods

ForceLooseFocus()

Forces the current focused element to loose its focus. Use this method to accept changes to properties that are bound with LostFocus.

public static void ForceLooseFocus()

Remarks

Gets the current focused element, than calls theClearFocus() method and raises a new LostFocusEvent.