Example #1
0
 private bool SelectTo(GridCell gridCell)
 {
     Presenter.Select(gridCell, true);
     return(true);
 }
Example #2
0
 private bool Activate(GridCell gridCell)
 {
     Presenter.Activate(gridCell);
     return(true);
 }
Example #3
0
 private bool CanSelectTo(GridCell gridCell)
 {
     return(Mode == GridCellMode.Select);
 }
Example #4
0
 private bool CanActivate(GridCell gridCell)
 {
     return(Presenter.PredictActivate(gridCell).HasValue);
 }
Example #5
0
 private bool CanExitEditMode(GridCell gridCell)
 {
     return(gridCell.IsCurrent && Mode == GridCellMode.Edit);
 }
Example #6
0
 private bool CanEnterEditMode(GridCell gridCell)
 {
     return(gridCell.IsCurrent && Mode == GridCellMode.Select && gridCell.IsEditable);
 }
Example #7
0
 private bool ToggleMode(GridCell gridCell)
 {
     Presenter.ToggleMode(gridCell);
     return(true);
 }
Example #8
0
 private bool CanToggleMode(GridCell gridCell)
 {
     return(Presenter.CanToggleMode(gridCell));
 }