FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreeDataGridTemplateCell

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct TreeDataGridTemplateCell
    

    A cell that shows a TemplateCell 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<TreeDataGridTemplateCell>
    

    Returns a strong reference to this object.

    Source

    content_property

    fn content_property() -> &'static DirectProperty<TreeDataGridTemplateCell, Option<BoxedValue>>
    

    Defines the Content property.

    Source

    content_template_property

    fn content_template_property() -> &'static DirectProperty<TreeDataGridTemplateCell, Option<Rc<dyn IDataTemplate>>>
    

    Defines the ContentTemplate property.

    Source

    editing_template_property

    fn editing_template_property() -> &'static DirectProperty<TreeDataGridTemplateCell, Option<Rc<dyn IDataTemplate>>>
    

    Defines the EditingTemplate property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    content

    fn content(self: &Self) -> Option<BoxedValue>
    

    The value of the cell model, the content the cell template is applied to.

    Source

    content_template

    fn content_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
    

    The template that shows the content.

    Source

    set_content_template

    fn set_content_template(self: &Self, value: Option<Rc<dyn IDataTemplate>>)
    

    Source

    editing_template

    fn editing_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
    

    The template that edits the content.

    Source

    set_editing_template

    fn set_editing_template(self: &Self, value: Option<Rc<dyn IDataTemplate>>)
    

    Source

    finalize_unrealize

    fn finalize_unrealize(self: &Self)
    

    Clears the content of an unrealized cell (FinalizeUnrealize).

    Source

    Trait implementations

    Availability

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