ComponentFactory.Krypton.Toolkit.KryptonRadioButton.SetFixedState C# (CSharp) Метод

SetFixedState() публичный Метод

Fix the control to a particular palette state.
public SetFixedState ( bool focus, bool enabled, bool tracking, bool pressed ) : void
focus bool Focus state for display.
enabled bool Enabled state for display.
tracking bool Tracking state for display.
pressed bool Pressed state for display.
Результат void
        public virtual void SetFixedState(bool focus,
                                          bool enabled,
                                          bool tracking,
                                          bool pressed)
        {
            // Prevent controller from changing drawing state
            _controller.Enabled = false;

            // Request fixed state from the view
            _overrideNormal.Apply = focus;
            _drawContent.FixedState = (enabled ? PaletteState.Normal : PaletteState.Disabled);
            _drawRadioButton.Enabled = enabled;
            _drawRadioButton.Tracking = tracking;
            _drawRadioButton.Pressed = pressed;
        }