FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DataErrorsChangedEventArgs

    struct · ferroui-system · v0.5.0

    struct DataErrorsChangedEventArgs
    

    The argument of the ErrorsChanged event of an INotifyDataErrorInfo (System.ComponentModel.DataErrorsChangedEventArgs): the name of the property whose validation errors changed.

    A name that is None or empty means that the errors of the whole object changed.

    View source

    Members

    new

    fn new(property_name: Option<&str>) -> Self
    

    The argument for the property named property_name (DataErrorsChangedEventArgs(string?)).

    Source

    from_static

    const fn from_static(property_name: &'static str) -> Self
    

    The argument for a property whose name is known at compile time, without an allocation; for the shared arguments that a type raises again and again.

    Source

    property_name

    fn property_name(self: &Self) -> Option<&str>
    

    The name of the property whose errors changed, or None for the whole object (PropertyName).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash

    Availability

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