FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreeDataGridCheckBoxCellAutomationPeer

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct TreeDataGridCheckBoxCellAutomationPeer
    

    An automation peer which represents a TreeDataGridCheckBoxCell.

    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<TreeDataGridCheckBoxCellAutomationPeer>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct(owner: &TreeDataGridCheckBoxCell) -> Self
    

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

    Source

    new

    fn new(owner: &TreeDataGridCheckBoxCell) -> Ref<Self>
    

    Initializes a new peer of owner.

    Source

    owner

    fn owner(self: &Self) -> Ref<TreeDataGridCheckBoxCell>
    

    The owning check box cell.

    Source

    toggle_state

    fn toggle_state(self: &Self) -> ToggleState
    

    The state of the check box (ToggleState).

    Source

    toggle

    fn toggle(self: &Self) -> Result<(), AutomationError>
    

    Moves the check box to its next state (Toggle).

    Errors

    AutomationError::ElementNotEnabled when the cell is not enabled, AutomationError::NotSupported when it is read only (NotSupportedException).

    Source

    Trait implementations

    Availability

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