C# Class FirstFloor.ModernUI.Windows.Attached.FocusAdvancement

显示文件 Open project: gro-ove/actools

Public Methods

Method Description
MoveFocus ( [ element, FocusNavigationDirection direction = FocusNavigationDirection.Next ) : bool
RemoveFocus ( [ element ) : bool

Private Methods

Method Description
Element_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
GetAdvancesByEnterKey ( DependencyObject obj ) : bool
OnAdvancesByEnterKeyPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetAdvancesByEnterKey ( DependencyObject obj, bool value ) : void

Method Details

MoveFocus() public static method

public static MoveFocus ( [ element, FocusNavigationDirection direction = FocusNavigationDirection.Next ) : bool
element [
direction FocusNavigationDirection
return bool

RemoveFocus() public static method

public static RemoveFocus ( [ element ) : bool
element [
return bool