FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BindingExpressionBase

    trait · ferroui-base · v0.5.0

    trait BindingExpressionBase: IDisposable + IValueEntry + Any
    

    The base of binding expressions: an instantiated binding on a target object. It is also the value entry through which the target's value store reads the binding's value.

    View source

    Members

    priority

    fn priority(self: &Self) -> BindingPriority
    

    The priority of the binding expression.

    Source

    target_property

    fn target_property(self: &Self) -> Option<&'static FerroProperty>
    

    The property that the binding expression is targeting.

    Source

    default_priority

    fn default_priority(self: &Self) -> BindingPriority
    

    The preferred priority of the binding expression; the priority passed to attach may differ if the binding targets a direct property, in which case it is elevated to local value priority.

    Source

    is_data_validation_enabled

    fn is_data_validation_enabled(self: &Self) -> bool
    

    Whether data validation is enabled for the binding expression.

    Source

    update_source

    fn update_source(self: &Self)
    

    Sends the current binding target value to the binding source property in two-way or one-way-to-source bindings. Does nothing for other modes. If the update source trigger of the binding is explicit, this must be called for changes to propagate back to the source.

    Source

    update_target

    fn update_target(self: &Self)
    

    Forces a data transfer from the binding source to the binding target.

    Source

    as_any

    fn as_any(self: &Self) -> &dyn Any
    

    Source

    Trait implementations

    Availability

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