ComponentFactory.Krypton.Toolkit.ViewDrawTrackBar.SetFixedState C# (CSharp) Method

SetFixedState() public method

Fix the control to a particular palette state.
public SetFixedState ( PaletteState state ) : void
state PaletteState Palette state to fix.
return void
        public virtual void SetFixedState(PaletteState state)
        {
            if ((state == PaletteState.Normal) || (state == PaletteState.Disabled))
            {
                _ticksTop.FixedState = state;
                _ticksBottom.FixedState = state;
            }

            _trackPosition.SetFixedState(state);
        }

Usage Example

Esempio n. 1
0
 /// <summary>
 /// Fix the control to a particular palette state.
 /// </summary>
 /// <param name="state">Palette state to fix.</param>
 public virtual void SetFixedState(PaletteState state)
 {
     _drawTrackBar.SetFixedState(state);
 }