PersonPictureProps
trait · ferroui-view · v0.5.0
trait PersonPictureProps: ElementBuilder
The properties and routed events of PersonPicture.
Members
badge_numberbadge_glyphbadge_image_sourcebadge_textis_groupcontactdisplay_nameinitialsprefer_small_imageprofile_picturetemplate_settings
badge_number
fn badge_number<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets PersonPicture::badge_number_property.
badge_glyph
fn badge_glyph<M>(self: Self, value: impl IntoProp<String, M>) -> Self
Sets PersonPicture::badge_glyph_property.
badge_image_source
fn badge_image_source<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IImageBrushSource>>, M>) -> Self
Sets PersonPicture::badge_image_source_property.
badge_text
fn badge_text<M>(self: Self, value: impl IntoProp<String, M>) -> Self
Sets PersonPicture::badge_text_property.
is_group
fn is_group<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets PersonPicture::is_group_property.
contact
fn contact<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Contact>>, M>) -> Self
Sets PersonPicture::contact_property.
display_name
fn display_name<M>(self: Self, value: impl IntoProp<String, M>) -> Self
Sets PersonPicture::display_name_property.
initials
fn initials<M>(self: Self, value: impl IntoProp<String, M>) -> Self
Sets PersonPicture::initials_property.
prefer_small_image
fn prefer_small_image<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets PersonPicture::prefer_small_image_property.
profile_picture
fn profile_picture<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IImageBrushSource>>, M>) -> Self
Sets PersonPicture::profile_picture_property.
template_settings
fn template_settings<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::primitives::PersonPictureTemplateSettings>>, M>) -> Self
Sets PersonPicture::template_settings_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.