FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RichEditBoxProps

    trait · ferroui-view · v0.5.0

    trait RichEditBoxProps: ElementBuilder
    

    The properties and routed events of RichEditBox.

    View source

    Members

    rich_document

    fn rich_document<M>(self: Self, value: impl IntoProp<ferroui_controls::documents::RichTextDocument, M>) -> Self
    

    Sets RichEditBox::rich_document_property.

    Source

    selection_start

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

    Sets RichEditBox::selection_start_property.

    Source

    selection_end

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

    Sets RichEditBox::selection_end_property.

    Source

    selected_text

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

    Sets RichEditBox::selected_text_property.

    Source

    is_text_selection_enabled

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

    Sets RichEditBox::is_text_selection_enabled_property.

    Source

    selection_highlight_color

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

    Sets RichEditBox::selection_highlight_color_property.

    Source

    selection_highlight_color_when_not_focused

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

    Sets RichEditBox::selection_highlight_color_when_not_focused_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 RichEditBox::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 RichEditBox::caret_brush_property.

    Source

    text_alignment

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

    Sets RichEditBox::text_alignment_property.

    Source

    text_wrapping

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

    Sets RichEditBox::text_wrapping_property.

    Source

    line_height

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

    Sets RichEditBox::line_height_property.

    Source

    text_indent

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

    Sets RichEditBox::text_indent_property.

    Source

    line_stacking_strategy

    fn line_stacking_strategy<M>(self: Self, value: impl IntoProp<ferroui_controls::documents::LineStackingStrategy, M>) -> Self
    

    Sets RichEditBox::line_stacking_strategy_property.

    Source

    text_decorations

    fn text_decorations<M>(self: Self, value: impl IntoProp<Option<ferroui_base::media::TextDecorationCollection>, M>) -> Self
    

    Sets RichEditBox::text_decorations_property.

    Source

    is_read_only

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

    Sets RichEditBox::is_read_only_property.

    Source

    accepts_return

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

    Sets RichEditBox::accepts_return_property.

    Source

    accepts_tab

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

    Sets RichEditBox::accepts_tab_property.

    Source

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

    Sets RichEditBox::caret_blink_interval_property.

    Source

    max_length

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

    Sets RichEditBox::max_length_property.

    Source

    clipboard_copy_format

    fn clipboard_copy_format<M>(self: Self, value: impl IntoProp<ferroui_controls::rich_text::RichEditClipboardFormat, M>) -> Self
    

    Sets RichEditBox::clipboard_copy_format_property.

    Source

    disabled_formatting_accelerators

    fn disabled_formatting_accelerators<M>(self: Self, value: impl IntoProp<ferroui_controls::DisabledFormattingAccelerators, M>) -> Self
    

    Sets RichEditBox::disabled_formatting_accelerators_property.

    Source

    character_casing

    fn character_casing<M>(self: Self, value: impl IntoProp<ferroui_controls::RichEditCharacterCasing, M>) -> Self
    

    Sets RichEditBox::character_casing_property.

    Source

    is_text_prediction_enabled

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

    Sets RichEditBox::is_text_prediction_enabled_property.

    Source

    input_scope

    fn input_scope<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::input::InputScope>>, M>) -> Self
    

    Sets RichEditBox::input_scope_property.

    Source

    placeholder_text

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

    Sets RichEditBox::placeholder_text_property.

    Source

    placeholder_foreground

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

    Sets RichEditBox::placeholder_foreground_property.

    Source

    header

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

    Sets RichEditBox::header_property.

    Source

    header_template

    fn header_template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self
    

    Sets RichEditBox::header_template_property.

    Source

    description

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

    Sets RichEditBox::description_property.

    Source

    is_undo_enabled

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

    Sets RichEditBox::is_undo_enabled_property.

    Source

    undo_limit

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

    Sets RichEditBox::undo_limit_property.

    Source

    text

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

    Sets RichEditBox::text_property.

    Source

    on_selection_changed

    fn on_selection_changed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles RichEditBox::selection_changed_event.

    Source

    on_text_changed

    fn on_text_changed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles RichEditBox::text_changed_event.

    Source

    on_text_changing

    fn on_text_changing(self: Self, handler: impl Fn(&ferroui_controls::RichEditBoxTextChangingEventArgs) -> () + 'static) -> Self
    

    Handles RichEditBox::text_changing_event.

    Source

    on_selection_changing

    fn on_selection_changing(self: Self, handler: impl Fn(&ferroui_controls::RichEditBoxSelectionChangingEventArgs) -> () + 'static) -> Self
    

    Handles RichEditBox::selection_changing_event.

    Source

    on_copying_to_clipboard

    fn on_copying_to_clipboard(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles RichEditBox::copying_to_clipboard_event.

    Source

    on_cutting_to_clipboard

    fn on_cutting_to_clipboard(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles RichEditBox::cutting_to_clipboard_event.

    Source

    on_pasting_from_clipboard

    fn on_pasting_from_clipboard(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles RichEditBox::pasting_from_clipboard_event.

    Source

    on_text_composition_started

    fn on_text_composition_started(self: Self, handler: impl Fn(&ferroui_controls::RichEditCompositionEventArgs) -> () + 'static) -> Self
    

    Handles RichEditBox::text_composition_started_event.

    Source

    on_text_composition_changed

    fn on_text_composition_changed(self: Self, handler: impl Fn(&ferroui_controls::RichEditCompositionEventArgs) -> () + 'static) -> Self
    

    Handles RichEditBox::text_composition_changed_event.

    Source

    on_text_composition_ended

    fn on_text_composition_ended(self: Self, handler: impl Fn(&ferroui_controls::RichEditCompositionEventArgs) -> () + 'static) -> Self
    

    Handles RichEditBox::text_composition_ended_event.

    Source

    on_context_menu_opening

    fn on_context_menu_opening(self: Self, handler: impl Fn(&ferroui_controls::ContextMenuEventArgs) -> () + 'static) -> Self
    

    Handles RichEditBox::context_menu_opening_event.

    Source

    Trait implementations

    Availability

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