FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RichEditBoxSelectionChangingEventArgs

    struct · ferroui-controls · v0.5.0

    struct RichEditBoxSelectionChangingEventArgs
    

    The proposed UTF-16 selection before its change is published.

    A handler may cancel the proposal or select a different range. An explicitly selected replacement wins over cancellation, as in the WinUI control contract.

    View source

    Members

    selection_start

    fn selection_start(self: &Self) -> usize
    

    Source

    selection_length

    fn selection_length(self: &Self) -> usize
    

    Source

    cancel

    fn cancel(self: &Self) -> bool
    

    Source

    set_cancel

    fn set_cancel(self: &Self, value: bool)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Default
    • Deref
    • IRoutedEventArgs
    • MarkupTyped

    Availability

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