FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PersonPictureProps

    trait · ferroui-view · v0.5.0

    trait PersonPictureProps: ElementBuilder
    

    The properties and routed events of PersonPicture.

    View source

    Members

    badge_number

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

    Sets PersonPicture::badge_number_property.

    Source

    badge_glyph

    fn badge_glyph<M>(self: Self, value: impl IntoProp<String, M>) -> Self
    

    Sets PersonPicture::badge_glyph_property.

    Source

    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.

    Source

    badge_text

    fn badge_text<M>(self: Self, value: impl IntoProp<String, M>) -> Self
    

    Sets PersonPicture::badge_text_property.

    Source

    is_group

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

    Sets PersonPicture::is_group_property.

    Source

    contact

    fn contact<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Contact>>, M>) -> Self
    

    Sets PersonPicture::contact_property.

    Source

    display_name

    fn display_name<M>(self: Self, value: impl IntoProp<String, M>) -> Self
    

    Sets PersonPicture::display_name_property.

    Source

    initials

    fn initials<M>(self: Self, value: impl IntoProp<String, M>) -> Self
    

    Sets PersonPicture::initials_property.

    Source

    prefer_small_image

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

    Sets PersonPicture::prefer_small_image_property.

    Source

    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.

    Source

    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.

    Source

    Trait implementations

    Availability

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