Gives the focus to the given UIElement with a Callback.
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 22.214.171.124
public static void GiveFocus( UIElement element, Action actionOnFocus )
- Type: System.WindowsUIElement
The UIElement which has to get the focus.
- Type: SystemAction
The callback which will be called when the control got the focus. It will called just before the element.Focus will called and the KeyboardFocus will be set.