/// <summary> /// Initializes a new instance of the <see cref="HeaderCell"/> class. /// </summary> /// <param name="p_VisualModel">The visual model.</param> /// <param name="p_HeaderBehavior">The header behavior.</param> protected HeaderCell(VisualModels.IVisualModel p_VisualModel, BehaviorModel.IBehaviorModel p_HeaderBehavior) { VisualModel = p_VisualModel; if (p_HeaderBehavior != null) { BehaviorModels.Add(p_HeaderBehavior); } }
/// <summary> /// Initializes a new instance of the <see cref="HeaderCell"/> class. /// </summary> /// <param name="value">The value.</param> /// <param name="p_VisualModel">The visual model.</param> /// <param name="p_HeaderBehavior">The header behavior.</param> public HeaderCell(object value, VisualModels.IVisualModel p_VisualModel, BehaviorModel.IBehaviorModel p_HeaderBehavior) : base(value) { VisualModel = p_VisualModel; if (p_HeaderBehavior != null) { BehaviorModels.Add(p_HeaderBehavior); } }