CollectionChangedTrigger
struct · ferroui-xaml-interactions-custom · v0.5.0
struct CollectionChangedTrigger
Executes associated actions whenever the bound collection raises a collection changed event.
The description of the change is the parameter of the actions.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<CollectionChangedTrigger>
Returns a strong reference to this object.
collection_property
fn collection_property() -> &'static StyledProperty<Option<ItemsSource>>
Identifies the Collection property.
Deviation (DEVIATIONS.md, Behaviors): the collection (INotifyCollectionChanged of
the reference) is an untyped list of the framework (ItemsSource); a list that does
not notify its changes is not observed.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a trigger.
collection
fn collection(self: &Self) -> Option<ItemsSource>
Gets or sets the collection to observe. Markup resolves a name given for it to the named element.
set_collection
fn set_collection(self: &Self, value: Option<ItemsSource>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<CollectionChangedTrigger>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplStyledElementBehaviorImplFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.