Class CloseItemsAction
ItemsControl 带有删除子项的行为
public class CloseItemsAction : TriggerAction<FrameworkElement>, IAnimatable, IAttachedObject
- Inheritance
-
CloseItemsAction
- Implements
- Inherited Members
- Extension Methods
Fields
ClosingCheckFuncProperty
public static readonly DependencyProperty ClosingCheckFuncProperty
Field Value
ItemProperty
public static readonly DependencyProperty ItemProperty
Field Value
ItemsControlProperty
public static readonly DependencyProperty ItemsControlProperty
Field Value
Properties
ClosingCheckFunc
public Func<bool> ClosingCheckFunc { get; set; }
Property Value
Item
public FrameworkElement Item { get; set; }
Property Value
ItemsControl
public ItemsControl ItemsControl { get; set; }
Property Value
Methods
Invoke(object)
Invokes the action.
protected override void Invoke(object parameter)
Parameters
parameter
objectThe parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference.