FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RemoveRangeAction

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct RemoveRangeAction
    

    Removes a range of items from a target list when invoked.

    The action returns true when the items were removed (each item the list contains); else false.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<RemoveRangeAction>
    

    Returns a strong reference to this object.

    Source

    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).

    Source

    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 removed from a FerroList or an ObservableCollection of the item types the items actions of the port change (see ItemsControl/), another list is read only.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates an action.

    Source

    items

    fn items(self: &Self) -> Option<ItemsSource>
    

    Gets or sets the items to remove.

    Source

    set_items

    fn set_items(self: &Self, value: Option<ItemsSource>)
    

    Source

    target

    fn target(self: &Self) -> Option<ItemsSource>
    

    Gets or sets the collection to remove items from.

    Source

    set_target

    fn set_target(self: &Self, value: Option<ItemsSource>)
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.