Skip to main content

SelectableTextBlockProps

Trait SelectableTextBlockProps 

Source
pub trait SelectableTextBlockProps: ElementBuilder {
    // Provided methods
    fn selection_start<M>(self, value: impl IntoProp<i32, M>) -> Self { ... }
    fn selection_end<M>(self, value: impl IntoProp<i32, M>) -> Self { ... }
    fn selection_brush<M>(
        self,
        value: impl IntoProp<Option<Rc<dyn IBrush>>, M>,
    ) -> Self { ... }
    fn selection_foreground_brush<M>(
        self,
        value: impl IntoProp<Option<Rc<dyn IBrush>>, M>,
    ) -> Self { ... }
    fn can_copy<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
    fn on_copying_to_clipboard(
        self,
        handler: impl Fn(&RoutedEventArgs) + 'static,
    ) -> Self { ... }
}
Expand description

The properties and routed events of SelectableTextBlock.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§