FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NumberBoxValidationMode

    enum · ferroui-controls · v0.5.0

    enum NumberBoxValidationMode
    

    What a NumberBox does with text that is not a number and with values out of its range (WinUI's NumberBoxValidationMode).

    View source

    Members

    InvalidInputOverwritten

    InvalidInputOverwritten = 0
    

    Invalid text is replaced with the text of the value, and the value is coerced into the range.

    Source

    Disabled

    Disabled = 1
    

    Invalid text stays, and the value is not coerced.

    Source

    Trait implementations

    Availability

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