FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreeDataGridTextCell

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct TreeDataGridTextCell
    

    A cell that shows the text of an ITextCell 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<TreeDataGridTextCell>
    

    Returns a strong reference to this object.

    Source

    text_trimming_property

    fn text_trimming_property() -> &'static DirectProperty<TreeDataGridTextCell, Rc<dyn TextTrimming>>
    

    Defines the TextTrimming property.

    Source

    text_wrapping_property

    fn text_wrapping_property() -> &'static DirectProperty<TreeDataGridTextCell, TextWrapping>
    

    Defines the TextWrapping property.

    Source

    value_property

    fn value_property() -> &'static DirectProperty<TreeDataGridTextCell, Option<String>>
    

    Defines the Value property.

    Source

    text_alignment_property

    fn text_alignment_property() -> &'static DirectProperty<TreeDataGridTextCell, TextAlignment>
    

    Defines the TextAlignment property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    text_trimming

    fn text_trimming(self: &Self) -> Rc<dyn TextTrimming>
    

    How the text is trimmed when it overflows the cell.

    Source

    set_text_trimming

    fn set_text_trimming(self: &Self, value: Rc<dyn TextTrimming>)
    

    Source

    text_wrapping

    fn text_wrapping(self: &Self) -> TextWrapping
    

    How the text wraps.

    Source

    set_text_wrapping

    fn set_text_wrapping(self: &Self, value: TextWrapping)
    

    Source

    value

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

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

    Source

    set_value

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

    Source

    text_alignment

    fn text_alignment(self: &Self) -> TextAlignment
    

    How the text is aligned.

    Source

    set_text_alignment

    fn set_text_alignment(self: &Self, value: TextAlignment)
    

    Source

    Trait implementations

    Availability

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