FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NumberBoxProps

    trait · ferroui-view · v0.5.0

    trait NumberBoxProps: ElementBuilder
    

    The properties and routed events of NumberBox.

    View source

    Members

    minimum

    fn minimum<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets NumberBox::minimum_property.

    Source

    maximum

    fn maximum<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets NumberBox::maximum_property.

    Source

    value

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

    Sets NumberBox::value_property.

    Source

    small_change

    fn small_change<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets NumberBox::small_change_property.

    Source

    large_change

    fn large_change<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets NumberBox::large_change_property.

    Source

    text

    fn text<M>(self: Self, value: impl IntoProp<String, M>) -> Self
    

    Sets NumberBox::text_property.

    Source

    header

    fn header<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
    

    Sets NumberBox::header_property.

    Source

    header_template

    fn header_template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self
    

    Sets NumberBox::header_template_property.

    Source

    placeholder_text

    fn placeholder_text<M>(self: Self, value: impl IntoProp<String, M>) -> Self
    

    Sets NumberBox::placeholder_text_property.

    Source

    text_alignment

    fn text_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self
    

    Sets NumberBox::text_alignment_property.

    Source

    description

    fn description<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
    

    Sets NumberBox::description_property.

    Source

    validation_mode

    fn validation_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::NumberBoxValidationMode, M>) -> Self
    

    Sets NumberBox::validation_mode_property.

    Source

    spin_button_placement_mode

    fn spin_button_placement_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::NumberBoxSpinButtonPlacementMode, M>) -> Self
    

    Sets NumberBox::spin_button_placement_mode_property.

    Source

    is_wrap_enabled

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

    Sets NumberBox::is_wrap_enabled_property.

    Source

    accepts_expression

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

    Sets NumberBox::accepts_expression_property.

    Source

    Trait implementations

    Availability

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