Class OpenTargetInTabControlAction
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
TargetProperty
TargetProperty
public static readonly DependencyProperty TargetProperty
Field Value
TargetTypeProperty
TargetTypeProperty
public static readonly DependencyProperty TargetTypeProperty
Field Value
Properties
AllowMultiInstance
Allow multi instance, the defalut value is true
public bool AllowMultiInstance { get; set; }
Property Value
Target
The target TabControl
public TabControl Target { get; set; }
Property Value
TargetType
The type of the control that would be added on the target TabControl
public Type TargetType { get; set; }
Property Value
Methods
Invoke(object)
Overrides Invoke method
protected override void Invoke(object parameter)
Parameters
parameter
object