CloseWindowAction
struct · ferroui-xaml-interactions-custom · v0.5.0
struct CloseWindowAction
Closes the associated or target window when executed.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<CloseWindowAction>
Returns a strong reference to this object.
target_window_property
fn target_window_property() -> &'static StyledProperty<Option<ElementRef<Window>>>
Identifies the TargetWindow property.
Deviation (DEVIATIONS.md, Behaviors): the action does not own the window, 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.
target_window
fn target_window(self: &Self) -> Option<Ref<Window>>
Gets or sets the target window. This is a property of the object model; markup resolves a name given for it to the named window.
set_target_window
fn set_target_window(self: &Self, value: impl Into<Nullable<Window>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<CloseWindowAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.