AddRangeAction
struct · ferroui-xaml-interactions-custom · v0.5.0
struct AddRangeAction
Adds a range of items to a target list when invoked.
The action returns true when the items were added; else false.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<AddRangeAction>
Returns a strong reference to this object.
items_property
fn items_property() -> &'static StyledProperty<Option<ItemsSource>>
Identifies the Items property.
Deviation (DEVIATIONS.md, Behaviors): the items (IEnumerable of the reference) are an
untyped list of the framework (ItemsSource).
target_property
fn target_property() -> &'static StyledProperty<Option<ItemsSource>>
Identifies the Target property.
Deviation (DEVIATIONS.md, Behaviors): the target (IList of the reference) is an
untyped list of the framework (ItemsSource); the items are added to a FerroList
or an ObservableCollection of the item types the items actions of the port change
(see ItemsControl/), another list is read only.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates an action.
items
fn items(self: &Self) -> Option<ItemsSource>
Gets or sets the items to add.
set_items
fn set_items(self: &Self, value: Option<ItemsSource>)
target
fn target(self: &Self) -> Option<ItemsSource>
Gets or sets the collection to add items to.
set_target
fn set_target(self: &Self, value: Option<ItemsSource>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<AddRangeAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplIAction
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.