ScreenReaderAnnounceAction
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ScreenReaderAnnounceAction
An action that requests a screen reader announcement.
Deviation (DEVIATIONS.md, Behaviors): the reference looks up a method
RequestScreenReaderAnnouncement on the top level by reflection and returns false when the
top level has none. The top level of the framework has no such request (nor has the framework
the reference is built on), so the action finds the top level of the sender and returns
false, as the reference does without the method.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ScreenReaderAnnounceAction>
Returns a strong reference to this object.
message_property
fn message_property() -> &'static StyledProperty<Option<String>>
Identifies the Message property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates an action.
message
fn message(self: &Self) -> Option<String>
Gets or sets the message to announce.
set_message
fn set_message(self: &Self, value: Option<String>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<ScreenReaderAnnounceAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.