FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SelectableTextBlockProps

    trait · ferroui-view · v0.5.0

    trait SelectableTextBlockProps: ElementBuilder
    

    The properties and routed events of SelectableTextBlock.

    View source

    Members

    selection_start

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

    Sets SelectableTextBlock::selection_start_property.

    Source

    selection_end

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

    Sets SelectableTextBlock::selection_end_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 SelectableTextBlock::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 SelectableTextBlock::selection_foreground_brush_property.

    Source

    can_copy

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

    Sets SelectableTextBlock::can_copy_property.

    Source

    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.

    Source

    Trait implementations

    Availability

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