FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BindingSetterViewModel

    struct · ferroui-diagnostics · v0.5.0

    struct BindingSetterViewModel
    

    A setter whose value is a binding: the path of the binding, with a tint and a tooltip that tell the kind of binding.

    View source

    Members

    new

    fn new(property: &'static FerroProperty, value: Option<BoxedValue>, clipboard: Option<Rc<dyn IClipboard>>) -> Rc<Self>
    

    Panics

    When value is not a binding of one of the three kinds (ArgumentException: "Invalid binding type").

    Source

    tint

    fn tint(self: &Self) -> Rc<dyn IBrush>
    

    Source

    value_type_tooltip

    fn value_type_tooltip(self: &Self) -> String
    

    Source

    path

    fn path(self: &Self) -> String
    

    Source

    copy_value

    fn copy_value(self: &Self)
    

    The override of CopyValue: copies the path of the binding.

    Source

    Trait implementations

    Availability

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