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