RichEditBoxProps
trait · ferroui-view · v0.5.0
trait RichEditBoxProps: ElementBuilder
The properties and routed events of RichEditBox.
Members
rich_documentselection_startselection_endselected_textis_text_selection_enabledselection_highlight_colorselection_highlight_color_when_not_focusedselection_foreground_brushcaret_brushtext_alignmenttext_wrappingline_heighttext_indentline_stacking_strategytext_decorationsis_read_onlyaccepts_returnaccepts_tabcaret_blink_intervalmax_lengthclipboard_copy_formatdisabled_formatting_acceleratorscharacter_casingis_text_prediction_enabledinput_scopeplaceholder_textplaceholder_foregroundheaderheader_templatedescriptionis_undo_enabledundo_limittexton_selection_changedon_text_changedon_text_changingon_selection_changingon_copying_to_clipboardon_cutting_to_clipboardon_pasting_from_clipboardon_text_composition_startedon_text_composition_changedon_text_composition_endedon_context_menu_opening
rich_document
fn rich_document<M>(self: Self, value: impl IntoProp<ferroui_controls::documents::RichTextDocument, M>) -> Self
Sets RichEditBox::rich_document_property.
selection_start
fn selection_start<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets RichEditBox::selection_start_property.
selection_end
fn selection_end<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets RichEditBox::selection_end_property.
selected_text
fn selected_text<M>(self: Self, value: impl IntoProp<String, M>) -> Self
Sets RichEditBox::selected_text_property.
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.
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.
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.
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.
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.
text_alignment
fn text_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self
Sets RichEditBox::text_alignment_property.
text_wrapping
fn text_wrapping<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextWrapping, M>) -> Self
Sets RichEditBox::text_wrapping_property.
line_height
fn line_height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets RichEditBox::line_height_property.
text_indent
fn text_indent<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets RichEditBox::text_indent_property.
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.
text_decorations
fn text_decorations<M>(self: Self, value: impl IntoProp<Option<ferroui_base::media::TextDecorationCollection>, M>) -> Self
Sets RichEditBox::text_decorations_property.
is_read_only
fn is_read_only<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets RichEditBox::is_read_only_property.
accepts_return
fn accepts_return<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets RichEditBox::accepts_return_property.
accepts_tab
fn accepts_tab<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets RichEditBox::accepts_tab_property.
caret_blink_interval
fn caret_blink_interval<M>(self: Self, value: impl IntoProp<std::time::Duration, M>) -> Self
Sets RichEditBox::caret_blink_interval_property.
max_length
fn max_length<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets RichEditBox::max_length_property.
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.
disabled_formatting_accelerators
fn disabled_formatting_accelerators<M>(self: Self, value: impl IntoProp<ferroui_controls::DisabledFormattingAccelerators, M>) -> Self
Sets RichEditBox::disabled_formatting_accelerators_property.
character_casing
fn character_casing<M>(self: Self, value: impl IntoProp<ferroui_controls::RichEditCharacterCasing, M>) -> Self
Sets RichEditBox::character_casing_property.
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.
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.
placeholder_text
fn placeholder_text<M>(self: Self, value: impl IntoProp<String, M>) -> Self
Sets RichEditBox::placeholder_text_property.
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.
header
fn header<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
Sets RichEditBox::header_property.
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.
description
fn description<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
Sets RichEditBox::description_property.
is_undo_enabled
fn is_undo_enabled<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets RichEditBox::is_undo_enabled_property.
undo_limit
fn undo_limit<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets RichEditBox::undo_limit_property.
text
fn text<M>(self: Self, value: impl IntoProp<String, M>) -> Self
Sets RichEditBox::text_property.
on_selection_changed
fn on_selection_changed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
Handles RichEditBox::selection_changed_event.
on_text_changed
fn on_text_changed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
Handles RichEditBox::text_changed_event.
on_text_changing
fn on_text_changing(self: Self, handler: impl Fn(&ferroui_controls::RichEditBoxTextChangingEventArgs) -> () + 'static) -> Self
Handles RichEditBox::text_changing_event.
on_selection_changing
fn on_selection_changing(self: Self, handler: impl Fn(&ferroui_controls::RichEditBoxSelectionChangingEventArgs) -> () + 'static) -> Self
Handles RichEditBox::selection_changing_event.
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.
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.
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.
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.
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.
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.
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.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.