Table of Contents

Class CloseItemsAction

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll

ItemsControl 带有删除子项的行为

public class CloseItemsAction : TriggerAction<FrameworkElement>, IAnimatable, IAttachedObject
Inheritance
CloseItemsAction
Implements
Inherited Members
Extension Methods

Fields

ClosingCheckFuncProperty

public static readonly DependencyProperty ClosingCheckFuncProperty

Field Value

DependencyProperty

ItemProperty

public static readonly DependencyProperty ItemProperty

Field Value

DependencyProperty

ItemsControlProperty

public static readonly DependencyProperty ItemsControlProperty

Field Value

DependencyProperty

Properties

ClosingCheckFunc

public Func<bool> ClosingCheckFunc { get; set; }

Property Value

Func<bool>

Item

public FrameworkElement Item { get; set; }

Property Value

FrameworkElement

ItemsControl

public ItemsControl ItemsControl { get; set; }

Property Value

ItemsControl

Methods

Invoke(object)

Invokes the action.

protected override void Invoke(object parameter)

Parameters

parameter object

The parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference.