private void SetMinMaxState(MinMaxGradientState newState) { if (newState != this.state) { this.m_MinMaxState.intValue = (int) newState; } }