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