FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ShowNotificationAction

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

    struct ShowNotificationAction
    

    Shows a 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<ShowNotificationAction>
    

    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

    notification_property

    fn notification_property() -> &'static StyledProperty<Option<Rc<dyn INotification>>>
    

    Identifies the Notification 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

    notification

    fn notification(self: &Self) -> Option<Rc<dyn INotification>>
    

    Gets or sets the INotification instance to show. This is a property of the object model, and the content of the action in markup.

    Source

    set_notification

    fn set_notification(self: &Self, value: Option<Rc<dyn INotification>>)
    

    Source

    Trait implementations

    Availability

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