FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AutomationNameBehavior

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct AutomationNameBehavior
    

    Sets the AutomationProperties.Name property on the associated control when attached, and clears it when detached.

    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<AutomationNameBehavior>
    

    Returns a strong reference to this object.

    Source

    automation_name_property

    fn automation_name_property() -> &'static StyledProperty<Option<String>>
    

    Identifies the AutomationName property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a behavior.

    Source

    automation_name

    fn automation_name(self: &Self) -> Option<String>
    

    Gets or sets the automation name. This is a property of the object model.

    Deviation (DEVIATIONS.md, Behaviors): the accessors of the reference read and write the Name property of the behavior instead of AutomationName (markup, which sets the registered property, was not affected); here they use AutomationName (defect corrected).

    Source

    set_automation_name

    fn set_automation_name(self: &Self, value: Option<String>)
    

    Source

    Trait implementations

    Availability

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