public override void OnApplyTemplate() { base.OnApplyTemplate(); _CellsPresenter = (TimespanHeaderCellsPresenter)GetTemplateChild("CellsPresenter"); _CellsPresenter.ParentRow = this; }