C# Class Com.Aote.Attachs.DataGridAttach

Afficher le fichier Open project: DuBin1988/restv2

Méthodes publiques

Свойство Type Description
FoceToCellOnEnterProperty System.Windows.DependencyProperty
ServerSortProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
GetFoceToCellOnEnter ( FrameworkElement ui ) : int
GetServerSort ( FrameworkElement ui ) : bool
SetFoceToCellOnEnter ( FrameworkElement ui, int value ) : void
SetServerSort ( FrameworkElement ui, bool value ) : void

Private Methods

Méthode Description
OnFoceToCellOnEnterChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void

回车时更新绑定,值为要更新的属性名,一般情况下,为Text

OnServerSortChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void

是否执行后台排序,为True时执行

dg_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
dg_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Method Details

GetFoceToCellOnEnter() public static méthode

public static GetFoceToCellOnEnter ( FrameworkElement ui ) : int
ui System.Windows.FrameworkElement
Résultat int

GetServerSort() public static méthode

public static GetServerSort ( FrameworkElement ui ) : bool
ui System.Windows.FrameworkElement
Résultat bool

SetFoceToCellOnEnter() public static méthode

public static SetFoceToCellOnEnter ( FrameworkElement ui, int value ) : void
ui System.Windows.FrameworkElement
value int
Résultat void

SetServerSort() public static méthode

public static SetServerSort ( FrameworkElement ui, bool value ) : void
ui System.Windows.FrameworkElement
value bool
Résultat void

Property Details

FoceToCellOnEnterProperty public_oe static_oe property

public static DependencyProperty,System.Windows FoceToCellOnEnterProperty
Résultat System.Windows.DependencyProperty

ServerSortProperty public_oe static_oe property

public static DependencyProperty,System.Windows ServerSortProperty
Résultat System.Windows.DependencyProperty