FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

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

    Returns a strong reference to this object.

    Source

    message_property

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

    Identifies the Message property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Creates an action.

    Source

    message

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

    Gets or sets the message to announce.

    Source

    set_message

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

    Source

    Trait implementations

    Availability

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