FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ContentPresenterProps

    trait · ferroui-view · v0.5.0

    trait ContentPresenterProps: ElementBuilder
    

    The properties and routed events of ContentPresenter.

    View source

    Members

    background

    fn background<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
    

    Sets ContentPresenter::background_property.

    Source

    background_sizing

    fn background_sizing<M>(self: Self, value: impl IntoProp<ferroui_base::media::BackgroundSizing, M>) -> Self
    

    Sets ContentPresenter::background_sizing_property.

    Source

    border_brush

    fn border_brush<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
    

    Sets ContentPresenter::border_brush_property.

    Source

    border_thickness

    fn border_thickness<M>(self: Self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self
    

    Sets ContentPresenter::border_thickness_property.

    Source

    corner_radius

    fn corner_radius<M>(self: Self, value: impl IntoProp<ferroui_base::CornerRadius, M>) -> Self
    

    Sets ContentPresenter::corner_radius_property.

    Source

    box_shadow

    fn box_shadow<M>(self: Self, value: impl IntoProp<ferroui_base::media::BoxShadows, M>) -> Self
    

    Sets ContentPresenter::box_shadow_property.

    Source

    foreground

    fn foreground<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
    

    Sets ContentPresenter::foreground_property.

    Source

    font_family

    fn font_family<M>(self: Self, value: impl IntoProp<ferroui_base::media::FontFamily, M>) -> Self
    

    Sets ContentPresenter::font_family_property.

    Source

    font_size

    fn font_size<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets ContentPresenter::font_size_property.

    Source

    font_style

    fn font_style<M>(self: Self, value: impl IntoProp<ferroui_base::media::FontStyle, M>) -> Self
    

    Sets ContentPresenter::font_style_property.

    Source

    font_weight

    fn font_weight<M>(self: Self, value: impl IntoProp<ferroui_base::media::FontWeight, M>) -> Self
    

    Sets ContentPresenter::font_weight_property.

    Source

    font_stretch

    fn font_stretch<M>(self: Self, value: impl IntoProp<ferroui_base::media::FontStretch, M>) -> Self
    

    Sets ContentPresenter::font_stretch_property.

    Source

    text_alignment

    fn text_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self
    

    Sets ContentPresenter::text_alignment_property.

    Source

    text_wrapping

    fn text_wrapping<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextWrapping, M>) -> Self
    

    Sets ContentPresenter::text_wrapping_property.

    Source

    text_trimming

    fn text_trimming<M>(self: Self, value: impl IntoProp<std::rc::Rc<dyn ferroui_base::media::TextTrimming>, M>) -> Self
    

    Sets ContentPresenter::text_trimming_property.

    Source

    line_height

    fn line_height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets ContentPresenter::line_height_property.

    Source

    letter_spacing

    fn letter_spacing<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets ContentPresenter::letter_spacing_property.

    Source

    max_lines

    fn max_lines<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
    

    Sets ContentPresenter::max_lines_property.

    Source

    content

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

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

    Source

    horizontal_content_alignment

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

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

    Source

    padding

    fn padding<M>(self: Self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self
    

    Sets ContentPresenter::padding_property.

    Source

    recognizes_access_key

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

    Sets ContentPresenter::recognizes_access_key_property.

    Source

    Trait implementations

    Availability

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