Exemplo n.º 1
0
        protected void SetSelectionBorderBindings(VirtualizingCellsControl cellsControl)
        {
            if (VirtualizingCellsControl.RowSelectionBrushProperty.GetMetadata(typeof(FrameworkElement)).DefaultValue == cellsControl.RowSelectionBrush)
            {
                cellsControl.RowSelectionBrush = DataGrid.RowSelectionBrush;
            }

            cellsControl.SelectionBorderVisiblity  = this.IsSelectedRow ? Visibility.Visible : Visibility.Collapsed;
            cellsControl.CurrentFocusRowVisibility = this.IsFocusedRow ? Visibility.Visible : Visibility.Collapsed;
            cellsControl.GroupRowSelectionBrush    = DataGrid.GroupRowSelectionBrush;
            cellsControl.RowHoverBackgroundBrush   = DataGrid.RowHoverHighlightingBrush;
        }
Exemplo n.º 2
0
 public SfGridRowAutomationPeer(VirtualizingCellsControl virtualizingCellsControl)
     : base(virtualizingCellsControl)
 {
 }