ShowNotificationAction
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ShowNotificationAction
Shows a notification using an INotificationManager.
Members
TYPEto_refnotification_manager_propertynotification_propertyconstructnewnotification_managerset_notification_managernotificationset_notification
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ShowNotificationAction>
Returns a strong reference to this object.
notification_manager_property
fn notification_manager_property() -> &'static StyledProperty<Option<Rc<dyn INotificationManager>>>
Identifies the NotificationManager property.
notification_property
fn notification_property() -> &'static StyledProperty<Option<Rc<dyn INotification>>>
Identifies the Notification property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates an action.
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.
set_notification_manager
fn set_notification_manager(self: &Self, value: Option<Rc<dyn INotificationManager>>)
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.
set_notification
fn set_notification(self: &Self, value: Option<Rc<dyn INotification>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<ShowNotificationAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.