public MatrixViewCellAutomationPeer(MatrixView matrixView, int row, int column) : base(matrixView) { Row = row; Column = column; RowSpan = 1; ColumnSpan = 1; }
public MatrixViewAutomationPeer(MatrixView owner) : base(owner) { _owner = owner; _headers = new Dictionary <int, WeakReference <MatrixViewHeaderAutomationPeer> >(); _cells = new Dictionary <(int row, int column), WeakReference <MatrixViewCellAutomationPeer> >(); ScrollProvider = new MatrixViewAutomationPeerScrollProvider(owner); Update(true); }
public VisualGridScroller(MatrixView owner) { _ui = TaskScheduler.FromCurrentSynchronizationContext(); _owner = owner; Points = owner.Points; _cancelSource = new CancellationTokenSource(); _scrollCommands = new BlockingCollection<ScrollCommand>(); // silence every exception and don't wait _handlerTask = ScrollCommandsHandler(_cancelSource.Token).SilenceException<Exception>(); }
public VisualGridScroller(MatrixView owner) { _ui = TaskScheduler.FromCurrentSynchronizationContext(); _owner = owner; if (_owner.ColumnHeader != null) { _owner.ColumnHeader.SortOrderChanged += OnSortOrderChanged; } _cancelSource = new CancellationTokenSource(); _scrollCommands = new BlockingCollection<ScrollCommand>(); // silence every exception and don't wait _handlerTask = ScrollCommandsHandler(_cancelSource.Token).SilenceException<Exception>(); }
public VisualGridScroller(MatrixView owner) { _owner = owner; if (_owner.ColumnHeader != null) { _owner.ColumnHeader.SortOrderChanged += OnSortOrderChanged; } _cancelSource = new CancellationTokenSource(); _scrollCommands = new BufferBlock <ScrollCommand>(); // silence every exception and don't wait _handlerTask = ScrollCommandsHandler(_cancelSource.Token).SilenceException <Exception>(); }
public VisualGridScroller(MatrixView owner) { _ui = TaskScheduler.FromCurrentSynchronizationContext(); _owner = owner; Points = owner.Points; _cancelSource = new CancellationTokenSource(); _scrollCommands = new BlockingCollection <ScrollCommand>(); // silence every exception and don't wait _handlerTask = ScrollCommandsHandler(_cancelSource.Token).SilenceException <Exception>(); }
public VisualGridScroller(MatrixView owner) { _ui = TaskScheduler.FromCurrentSynchronizationContext(); _owner = owner; if (_owner.ColumnHeader != null) { _owner.ColumnHeader.SortOrderChanged += OnSortOrderChanged; } _cancelSource = new CancellationTokenSource(); _scrollCommands = new BlockingCollection <ScrollCommand>(); // silence every exception and don't wait _handlerTask = ScrollCommandsHandler(_cancelSource.Token).SilenceException <Exception>(); }
public MatrixViewHeaderAutomationPeer(MatrixView matrixView, int column) : base(matrixView) { Column = column; }
protected MatrixViewItemAutomationPeer(MatrixView owner) { Owner = owner; }