FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Flyout

    struct · ferroui-controls · v0.5.0

    struct Flyout
    

    A flyout that displays arbitrary content.

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

    Returns a strong reference to this object.

    Source

    content_property

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

    Defines the Content property.

    Source

    content_template_property

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

    Defines the ContentTemplate property.

    Source

    flyout_presenter_theme_property

    fn flyout_presenter_theme_property() -> &'static StyledProperty<Option<Ref<ControlTheme>>>
    

    Defines the FlyoutPresenterTheme property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a flyout.

    Source

    flyout_presenter_classes

    fn flyout_presenter_classes(self: &Self) -> Classes
    

    The classes collection to apply to the flyout presenter this flyout is hosting.

    Source

    flyout_presenter_theme

    fn flyout_presenter_theme(self: &Self) -> Option<Ref<ControlTheme>>
    

    The control theme that is applied to the container element generated for the flyout presenter.

    Source

    set_flyout_presenter_theme

    fn set_flyout_presenter_theme(self: &Self, value: impl Into<Nullable<ControlTheme>>)
    

    Source

    content

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

    The content to display in this flyout.

    Source

    set_content

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

    Source

    content_template

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

    The data template used to display the content of the flyout.

    Source

    set_content_template

    fn set_content_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.