CloseNotificationAction
struct · ferroui-xaml-interactions-custom · v0.5.0
struct CloseNotificationAction
Action that closes the specified NotificationCard.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<CloseNotificationAction>
Returns a strong reference to this object.
notification_card_property
fn notification_card_property() -> &'static StyledProperty<Option<ElementRef<NotificationCard>>>
Gets or sets the notification card to close.
Deviation (DEVIATIONS.md, Behaviors): the card is usually the element that hosts the action, which would hold itself through the action; the action does not own the card, so the value is an element reference.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates an action.
notification_card
fn notification_card(self: &Self) -> Option<Ref<NotificationCard>>
The notification card to close: the content of the action in markup.
set_notification_card
fn set_notification_card(self: &Self, value: impl Into<Nullable<NotificationCard>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<CloseNotificationAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.