예제 #1
0
 public TableViewColumnHeader GetColumnHeaderAtLocation(Point loc)
 {
     if (HeaderRowPresenter != null)
     {
         return(HeaderRowPresenter.GetColumnHeaderAtLocation(loc));
     }
     return(null);
 }
예제 #2
0
        private void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            if (HeaderRowPresenter != null)
            {
                ResetFixedClipRect();
                HeaderRowPresenter.HeaderInvalidateArrange();
            }

            if (RowsPresenter != null)
            {
                RowsPresenter.RowsInvalidateArrange();
            }
        }
예제 #3
0
        private void ColumnsChanged(object sender, NotifyCollectionChangedEventArgs e)
        {
            foreach (TableViewColumn col in Columns)
            {
                col.ParentTableView = this;
            }

            if (HeaderRowPresenter != null)
            {
                ResetFixedClipRect();
                HeaderRowPresenter.HeaderInvalidateArrange();
            }

            if (RowsPresenter != null)
            {
                RowsPresenter.ColumnsChanged();
            }
        }