Table of Contents

Class OpenTargetInTabControlAction

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

TabControl支持动态添加TabItem的行为,支持数据的添加,需要有无参构造函数

public class OpenTargetInTabControlAction : TriggerAction<DependencyObject>, IAnimatable, IAttachedObject
Inheritance
OpenTargetInTabControlAction
Implements
Inherited Members
Extension Methods

Fields

AllowMultiInstanceProperty

AllowMultiInstanceProperty

public static readonly DependencyProperty AllowMultiInstanceProperty

Field Value

DependencyProperty

TargetProperty

TargetProperty

public static readonly DependencyProperty TargetProperty

Field Value

DependencyProperty

TargetTypeProperty

TargetTypeProperty

public static readonly DependencyProperty TargetTypeProperty

Field Value

DependencyProperty

Properties

AllowMultiInstance

Allow multi instance, the defalut value is true

public bool AllowMultiInstance { get; set; }

Property Value

bool

Target

The target TabControl

public TabControl Target { get; set; }

Property Value

TabControl

TargetType

The type of the control that would be added on the target TabControl

public Type TargetType { get; set; }

Property Value

Type

Methods

Invoke(object)

Overrides Invoke method

protected override void Invoke(object parameter)

Parameters

parameter object