FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RangeGravity

    enum · ferroui-controls · v0.5.0

    enum RangeGravity
    

    Character-format affinity at a collapsed range boundary, with the native Microsoft.UI.Text numeric values. UIBehavior follows the preceding run except at the start of a paragraph. Backward can use the preceding paragraph's last character; Forward and collapsed Inward use the following run.

    The characterized MSFTEDIT setter canonicalizes Outward to UIBehavior. All five constants remain available; the getter reports the accepted mode. This does not change FerroUI's separate live-pointer rebasing policy.

    View source

    Members

    UIBehavior

    UIBehavior = 0
    

    Source

    Backward

    Backward = 1
    

    Source

    Forward

    Forward = 2
    

    Source

    Inward

    Inward = 3
    

    Source

    Outward

    Outward = 4
    

    Source

    Trait implementations

    Availability

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