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.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<AutomationNameBehavior>
Returns a strong reference to this object.
automation_name_property
fn automation_name_property() -> &'static StyledProperty<Option<String>>
Identifies the AutomationName property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
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).
set_automation_name
fn set_automation_name(self: &Self, value: Option<String>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<AutomationNameBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplStyledElementBehaviorImplFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.