private bool AreHeaderModelsEqual(CalendarHeaderCellModel a, CalendarHeaderCellModel b) { return(a.Type == b.Type && a.Label == b.Label); }
/// <summary> /// <summary> /// Initializes a new instance of the <see cref="CalendarHeaderCellInfoAutomationPeer"/> class. /// </summary> /// <param name="parent">Parent CalendarViewHostAutomationPeer.</param> /// <param name="headerCellModel">The model of the calendar header cell.</param> internal CalendarHeaderCellInfoAutomationPeer(CalendarViewHostAutomationPeer parent, CalendarHeaderCellModel headerCellModel) : base(parent, headerCellModel) { this.HeaderCellModel = headerCellModel; }