UpdateTemplate() private méthode

private UpdateTemplate ( ) : void
Résultat void
Exemple #1
0
        private static void OnTableBodyItemsChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            HeadLeftReport control = (HeadLeftReport)o;

            control.UpdateTemplate();
            //数据加载完成后,要重绘报表
            if (e.NewValue is ILoadable)
            {
                ILoadable obj = (ILoadable)e.NewValue;
                obj.DataLoaded += (o1, e1) =>
                {
                    control.UpdateTableBody();
                    control.UpdateTableTail();
                };
            }
        }
Exemple #2
0
        private static void OnTableBodyTemplateChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            HeadLeftReport control = (HeadLeftReport)o;

            control.UpdateTemplate();
        }