private static void PropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            var sender = (TreeGridHeaderRowPresenter)d;

            if (e.Property == ColumnHeaderTemplateProperty || e.Property == ColumnHeaderTemplateSelectorProperty)
            {
                TreeGridHelper.CheckTemplateAndTemplateSelector("TreeGridHeaderRowPresenter", ColumnHeaderTemplateProperty, ColumnHeaderTemplateSelectorProperty, sender);
            }
            sender.UpdateAllHeaders(e.Property);
        }
Example #2
0
 private void OnColumnHeaderTemplateSelectorChanged(DependencyPropertyChangedEventArgs e)
 {
     TreeGridHelper.CheckTemplateAndTemplateSelector("GridViewColumnHeader", GridView.ColumnHeaderTemplateProperty, GridView.ColumnHeaderTemplateSelectorProperty, this);
 }
Example #3
0
 private void OnHeaderTemplateSelectorChanged(DependencyPropertyChangedEventArgs e)
 {
     TreeGridHelper.CheckTemplateAndTemplateSelector("Header", HeaderTemplateProperty, HeaderTemplateSelectorProperty, this);
     this.OnPropertyChanged(TreeGridColumn.HeaderTemplateSelectorProperty.Name);
 }