FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ShowErrorNotificationAction

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

    struct ShowErrorNotificationAction
    

    Shows an error notification using an INotificationManager.

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

    Returns a strong reference to this object.

    Source

    notification_manager_property

    fn notification_manager_property() -> &'static StyledProperty<Option<Rc<dyn INotificationManager>>>
    

    Identifies the NotificationManager property.

    Source

    title_property

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

    Identifies the Title property.

    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

    notification_manager

    fn notification_manager(self: &Self) -> Option<Rc<dyn INotificationManager>>
    

    Gets or sets the INotificationManager used to display the notification. This is a property of the object model; markup resolves a name given for it to the named manager.

    Source

    set_notification_manager

    fn set_notification_manager(self: &Self, value: Option<Rc<dyn INotificationManager>>)
    

    Source

    title

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

    Gets or sets the notification title. This is a property of the object model.

    Source

    set_title

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

    Source

    message

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

    Gets or sets the notification message. This is a property of the object model.

    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.