ContentPresenterProps
trait · ferroui-view · v0.5.0
trait ContentPresenterProps: ElementBuilder
The properties and routed events of ContentPresenter.
Members
backgroundbackground_sizingborder_brushborder_thicknesscorner_radiusbox_shadowforegroundfont_familyfont_sizefont_stylefont_weightfont_stretchtext_alignmenttext_wrappingtext_trimmingline_heightletter_spacingmax_linescontentcontent_templatehorizontal_content_alignmentvertical_content_alignmentpaddingrecognizes_access_key
background
fn background<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
Sets ContentPresenter::background_property.
background_sizing
fn background_sizing<M>(self: Self, value: impl IntoProp<ferroui_base::media::BackgroundSizing, M>) -> Self
Sets ContentPresenter::background_sizing_property.
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.
border_thickness
fn border_thickness<M>(self: Self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self
Sets ContentPresenter::border_thickness_property.
corner_radius
fn corner_radius<M>(self: Self, value: impl IntoProp<ferroui_base::CornerRadius, M>) -> Self
Sets ContentPresenter::corner_radius_property.
box_shadow
fn box_shadow<M>(self: Self, value: impl IntoProp<ferroui_base::media::BoxShadows, M>) -> Self
Sets ContentPresenter::box_shadow_property.
foreground
fn foreground<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
Sets ContentPresenter::foreground_property.
font_family
fn font_family<M>(self: Self, value: impl IntoProp<ferroui_base::media::FontFamily, M>) -> Self
Sets ContentPresenter::font_family_property.
font_size
fn font_size<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets ContentPresenter::font_size_property.
font_style
fn font_style<M>(self: Self, value: impl IntoProp<ferroui_base::media::FontStyle, M>) -> Self
Sets ContentPresenter::font_style_property.
font_weight
fn font_weight<M>(self: Self, value: impl IntoProp<ferroui_base::media::FontWeight, M>) -> Self
Sets ContentPresenter::font_weight_property.
font_stretch
fn font_stretch<M>(self: Self, value: impl IntoProp<ferroui_base::media::FontStretch, M>) -> Self
Sets ContentPresenter::font_stretch_property.
text_alignment
fn text_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self
Sets ContentPresenter::text_alignment_property.
text_wrapping
fn text_wrapping<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextWrapping, M>) -> Self
Sets ContentPresenter::text_wrapping_property.
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.
line_height
fn line_height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets ContentPresenter::line_height_property.
letter_spacing
fn letter_spacing<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets ContentPresenter::letter_spacing_property.
max_lines
fn max_lines<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets ContentPresenter::max_lines_property.
content
fn content<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
Sets ContentPresenter::content_property.
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.
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.
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.
padding
fn padding<M>(self: Self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self
Sets ContentPresenter::padding_property.
recognizes_access_key
fn recognizes_access_key<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets ContentPresenter::recognizes_access_key_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.