SelectableTextBlockProps
trait · ferroui-view · v0.5.0
trait SelectableTextBlockProps: ElementBuilder
The properties and routed events of SelectableTextBlock.
Members
selection_startselection_endselection_brushselection_foreground_brushcan_copyon_copying_to_clipboard
selection_start
fn selection_start<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets SelectableTextBlock::selection_start_property.
selection_end
fn selection_end<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets SelectableTextBlock::selection_end_property.
selection_brush
fn selection_brush<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
Sets SelectableTextBlock::selection_brush_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 SelectableTextBlock::selection_foreground_brush_property.
can_copy
fn can_copy<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets SelectableTextBlock::can_copy_property.
on_copying_to_clipboard
fn on_copying_to_clipboard(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
Handles SelectableTextBlock::copying_to_clipboard_event.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.