PathIconDataBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct PathIconDataBehavior
Sets the PathIcon::data when the associated icon is attached to the visual tree; the data
the icon had is restored when it leaves the visual tree.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PathIconDataBehavior>
Returns a strong reference to this object.
data_property
fn data_property() -> &'static StyledProperty<Option<Ref<Geometry>>>
Identifies the Data property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
data
fn data(self: &Self) -> Option<Ref<Geometry>>
Gets or sets the geometry used for the icon. This is a property of the object model.
set_data
fn set_data(self: &Self, value: impl Into<Nullable<Geometry>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAttachedToVisualTreeBehaviorImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherDisposingBehaviorImplExtStyledElementBehaviorImplExtDerefUpcast<T>Upcast<PathIconDataBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImplDisposingBehaviorImplAttachedToVisualTreeBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.