FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreeDataGridCheckBoxCell

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct TreeDataGridCheckBoxCell
    

    A cell that shows a CheckBoxCell model.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<TreeDataGridCheckBoxCell>
    

    Returns a strong reference to this object.

    Source

    is_read_only_property

    fn is_read_only_property() -> &'static DirectProperty<TreeDataGridCheckBoxCell, bool>
    

    Defines the IsReadOnly property.

    Source

    is_three_state_property

    fn is_three_state_property() -> &'static DirectProperty<TreeDataGridCheckBoxCell, bool>
    

    Defines the IsThreeState property.

    Source

    value_property

    fn value_property() -> &'static DirectProperty<TreeDataGridCheckBoxCell, Option<bool>>
    

    Defines the Value property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    is_read_only

    fn is_read_only(self: &Self) -> bool
    

    Whether the value cannot be changed.

    Source

    set_is_read_only

    fn set_is_read_only(self: &Self, value: bool)
    

    Source

    is_three_state

    fn is_three_state(self: &Self) -> bool
    

    Whether the check box has an indeterminate state.

    Source

    set_is_three_state

    fn set_is_three_state(self: &Self, value: bool)
    

    Source

    value

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

    The value of the cell. Setting it writes the value to the model.

    Source

    set_value

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

    Source

    Trait implementations

    Availability

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