private void ExecuteGetSmallerCommand() { switch (State) { case CollapsingState.Large: State = CollapsingState.Normal; break; case CollapsingState.Normal: State = CollapsingState.Small; break; } }
private void ExecuteGoToSmallCommand() { State = CollapsingState.Small; }
private void ExecuteGoToNormalCommand() { State = CollapsingState.Normal; }
private void ExecuteGoToLargeCommand() { State = CollapsingState.Large; }
private void ExecuteGetSmallerCommand() { switch ( State ) { case CollapsingState.Large: State = CollapsingState.Normal; break; case CollapsingState.Normal: State = CollapsingState.Small; break; } }