C# Class SmartCmdArgs.View.DataGridEx

Inheritance: System.Windows.Controls.DataGrid
Show file Open project: MBulli/SmartCommandlineArgs

Public Properties

Property Type Description
CopyCommandProperty System.Windows.DependencyProperty
CutCommandProperty System.Windows.DependencyProperty
IsInEditModeProperty System.Windows.DependencyProperty
MoveDownCommandProperty System.Windows.DependencyProperty
MoveUpCommandProperty System.Windows.DependencyProperty
PasteCommandProperty System.Windows.DependencyProperty
SelectedItemsProperty System.Windows.DependencyProperty
ToggleItemEnabledProperty System.Windows.DependencyProperty

Public Methods

Method Description
CheckboxCellOnMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
DataGridEx ( ) : System

Protected Methods

Method Description
OnBeginningEdit ( System.Windows.Controls.DataGridBeginningEditEventArgs e ) : void
OnCellEditEnding ( System.Windows.Controls.DataGridCellEditEndingEventArgs e ) : void
OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void
OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
OnSelectedCellsChanged ( System.Windows.Controls.SelectedCellsChangedEventArgs e ) : void

Private Methods

Method Description
FocusCell ( object item, int columnIndex = 1 ) : void
FocusCellAfterDelay ( object item, int columnIndex = 1, int delayInMs = 10 ) : void
GetCell ( System.Windows.Controls.DataGridRow rowContainer, int column ) : System.Windows.Controls.DataGridCell
OnCanExecuteCopy ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnCanExecuteCut ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnCanExecutePaste ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnExecuteCopy ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnExecuteCut ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnExecutePaste ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SelectAndSetFocusToItem ( object item ) : void
ToggleEnabledForItem ( object item ) : void

Method Details

CheckboxCellOnMouseDown() public method

public CheckboxCellOnMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void

DataGridEx() public method

public DataGridEx ( ) : System
return System

OnBeginningEdit() protected method

protected OnBeginningEdit ( System.Windows.Controls.DataGridBeginningEditEventArgs e ) : void
e System.Windows.Controls.DataGridBeginningEditEventArgs
return void

OnCellEditEnding() protected method

protected OnCellEditEnding ( System.Windows.Controls.DataGridCellEditEndingEventArgs e ) : void
e System.Windows.Controls.DataGridCellEditEndingEventArgs
return void

OnItemsChanged() protected method

protected OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void
e System.Collections.Specialized.NotifyCollectionChangedEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

OnPreviewKeyDown() protected method

protected OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
return void

OnSelectedCellsChanged() protected method

protected OnSelectedCellsChanged ( System.Windows.Controls.SelectedCellsChangedEventArgs e ) : void
e System.Windows.Controls.SelectedCellsChangedEventArgs
return void

Property Details

CopyCommandProperty public static property

public static DependencyProperty,System.Windows CopyCommandProperty
return System.Windows.DependencyProperty

CutCommandProperty public static property

public static DependencyProperty,System.Windows CutCommandProperty
return System.Windows.DependencyProperty

IsInEditModeProperty public static property

public static DependencyProperty,System.Windows IsInEditModeProperty
return System.Windows.DependencyProperty

MoveDownCommandProperty public static property

public static DependencyProperty,System.Windows MoveDownCommandProperty
return System.Windows.DependencyProperty

MoveUpCommandProperty public static property

public static DependencyProperty,System.Windows MoveUpCommandProperty
return System.Windows.DependencyProperty

PasteCommandProperty public static property

public static DependencyProperty,System.Windows PasteCommandProperty
return System.Windows.DependencyProperty

SelectedItemsProperty public static property

public static DependencyProperty,System.Windows SelectedItemsProperty
return System.Windows.DependencyProperty

ToggleItemEnabledProperty public static property

public static DependencyProperty,System.Windows ToggleItemEnabledProperty
return System.Windows.DependencyProperty