FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CheckBoxCell

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct CheckBoxCell
    

    CheckBoxCell.

    View source

    Members

    from_value

    fn from_value(value: Option<bool>) -> Rc<Self>
    

    A read-only cell of a constant value (CheckBoxCell(bool? value)).

    Source

    new

    fn new(binding: Rc<dyn ICellBinding<Option<bool>>>, is_read_only: bool, is_three_state: bool) -> Rc<Self>
    

    A cell of the value binding pushes; a cell that is not read only writes its changes back.

    Source

    single_tap_edit

    fn single_tap_edit(self: &Self) -> bool
    

    Whether a single tap edits the cell (SingleTapEdit).

    Source

    is_read_only

    fn is_read_only(self: &Self) -> bool
    

    Source

    is_three_state

    fn is_three_state(self: &Self) -> bool
    

    Whether the check box has an indeterminate state.

    Source

    value

    fn value(self: &Self) -> Option<bool>
    

    The state of the check box.

    Source

    set_value

    fn set_value(self: &Self, value: Option<bool>)
    

    Sets the state; a cell that is not read only writes it to its binding.

    Source

    try_set_source

    fn try_set_source(self: &Self, source: Option<&BoxedValue>) -> bool
    

    Points the cell's binding at another model (TrySetSource).

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.