FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    HeaderedContentControl

    struct · ferroui-controls · v0.5.0

    struct HeaderedContentControl
    

    A ContentControl with a header.

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

    Returns a strong reference to this object.

    Source

    TEMPLATE_PARTS

    const TEMPLATE_PARTS: &'static [TemplatePartAttribute]
    

    The named parts expected in the control template, in addition to those of the base class.

    Source

    header_property

    fn header_property() -> &'static StyledProperty<Option<BoxedValue>>
    

    Defines the Header property.

    Source

    header_template_property

    fn header_template_property() -> &'static StyledProperty<Option<Rc<dyn IDataTemplate>>>
    

    Defines the HeaderTemplate property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    header

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

    The header content.

    Source

    set_header

    fn set_header(self: &Self, value: Option<BoxedValue>)
    

    Source

    header_presenter

    fn header_presenter(self: &Self) -> Option<Ref<ContentPresenter>>
    

    The header presenter from the control's template.

    Source

    header_template

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

    The data template used to display the header content of the control.

    Source

    set_header_template

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

    Source

    Trait implementations

    Availability

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