FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ContentPageProps

    trait · ferroui-view · v0.5.0

    trait ContentPageProps: ElementBuilder
    

    The properties and routed events of ContentPage.

    View source

    Members

    content

    fn content<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
    

    Sets ContentPage::content_property.

    Source

    content_template

    fn content_template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self
    

    Sets ContentPage::content_template_property.

    Source

    automatically_apply_safe_area_padding

    fn automatically_apply_safe_area_padding<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets ContentPage::automatically_apply_safe_area_padding_property.

    Source

    top_command_bar

    fn top_command_bar<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
    

    Sets ContentPage::top_command_bar_property.

    Source

    bottom_command_bar

    fn bottom_command_bar<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
    

    Sets ContentPage::bottom_command_bar_property.

    Source

    horizontal_content_alignment

    fn horizontal_content_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self
    

    Sets ContentPage::horizontal_content_alignment_property.

    Source

    vertical_content_alignment

    fn vertical_content_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self
    

    Sets ContentPage::vertical_content_alignment_property.

    Source

    Trait implementations

    Availability

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