Exemplo n.º 1
0
 /// <summary>
 /// Method to invoke when the ToggleMarkBarState command is executed.
 /// </summary>
 private void ToggleMarkBarState()
 {
     MarkCollections.ForEach(x => x.ShowMarkBar = _markBarToggleState);
     _markBarToggleState = !_markBarToggleState;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Method to invoke when the EnableAllLines command is executed.
 /// </summary>
 private void ToggleLineState()
 {
     MarkCollections.ForEach(x => x.ShowGridLines = _lineToggleState);
     _lineToggleState = !_lineToggleState;
 }