跳到主要内容

Class Toggle

This control allows you to edit a bool as a Toggle.

Properties

inputElement

public override VisualElement inputElement { get; }

Methods

SetValueWithoutNotify(bool value)

public override void SetValueWithoutNotify(bool value)

SetValue(bool value)

protected override void SetValue(bool value)

OnRedo(bool newValue)

protected override void OnRedo(bool newValue)

OnUndo(bool oldValue)

protected override void OnUndo(bool oldValue)