FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TextPresenterProps

    trait · ferroui-view · v0.5.0

    trait TextPresenterProps: ElementBuilder
    

    The properties and routed events of TextPresenter.

    View source

    Members

    show_selection_highlight

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

    Sets TextPresenter::show_selection_highlight_property.

    Source

    caret_index

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

    Sets TextPresenter::caret_index_property.

    Source

    reveal_password

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

    Sets TextPresenter::reveal_password_property.

    Source

    password_char

    fn password_char<M>(self: Self, value: impl IntoProp<char, M>) -> Self
    

    Sets TextPresenter::password_char_property.

    Source

    selection_brush

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

    Sets TextPresenter::selection_brush_property.

    Source

    selection_foreground_brush

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

    Sets TextPresenter::selection_foreground_brush_property.

    Source

    caret_brush

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

    Sets TextPresenter::caret_brush_property.

    Source

    fn caret_blink_interval<M>(self: Self, value: impl IntoProp<std::time::Duration, M>) -> Self
    

    Sets TextPresenter::caret_blink_interval_property.

    Source

    selection_start

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

    Sets TextPresenter::selection_start_property.

    Source

    selection_end

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

    Sets TextPresenter::selection_end_property.

    Source

    text

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

    Sets TextPresenter::text_property.

    Source

    preedit_text

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

    Sets TextPresenter::preedit_text_property.

    Source

    preedit_text_cursor_position

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

    Sets TextPresenter::preedit_text_cursor_position_property.

    Source

    text_alignment

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

    Sets TextPresenter::text_alignment_property.

    Source

    text_wrapping

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

    Sets TextPresenter::text_wrapping_property.

    Source

    line_height

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

    Sets TextPresenter::line_height_property.

    Source

    letter_spacing

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

    Sets TextPresenter::letter_spacing_property.

    Source

    background

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

    Sets TextPresenter::background_property.

    Source

    Trait implementations

    Availability

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