FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NumberBoxAutomationPeer

    struct · ferroui-controls · v0.5.0

    struct NumberBoxAutomationPeer
    

    An automation peer which represents a NumberBox: a spinner with the range value pattern, named by its header when it has no name.

    Deviation (docs/porting/winui-controls.md, Input): WinUI's peer raises the change of Value only; this one also raises the changes of Minimum, Maximum, SmallChange and LargeChange (the identifiers of W1), as the range peers of the framework do.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<NumberBoxAutomationPeer>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct(owner: &NumberBox) -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new(owner: &NumberBox) -> Ref<Self>
    

    Initializes a new peer of owner.

    Source

    owner

    fn owner(self: &Self) -> Ref<NumberBox>
    

    Gets the owning number box.

    Source

    Trait implementations

    Availability

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