FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ContentControlProps

    trait · ferroui-view · v0.5.0

    trait ContentControlProps: ElementBuilder
    

    The properties and routed events of ContentControl.

    View source

    Members

    content

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

    Sets ContentControl::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 ContentControl::content_template_property.

    Source

    horizontal_content_alignment

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

    Sets ContentControl::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 ContentControl::vertical_content_alignment_property.

    Source

    Trait implementations

    Availability

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