28 references to DataGridHeadersVisibility
PresentationFramework (28)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (4)
237if ((this.OwningDataGrid.HeadersVisibility & DataGridHeadersVisibility.Column) == DataGridHeadersVisibility.Column) 271if ((this.OwningDataGrid.HeadersVisibility & DataGridHeadersVisibility.Row) == DataGridHeadersVisibility.Row)
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (4)
559(this.OwningDataGrid.HeadersVisibility & DataGridHeadersVisibility.Column) == DataGridHeadersVisibility.Column && 581(this.OwningDataGrid.HeadersVisibility & DataGridHeadersVisibility.Row) == DataGridHeadersVisibility.Row)
System\Windows\Controls\DataGrid.cs (4)
1236public DataGridHeadersVisibility HeadersVisibility 1238get { return (DataGridHeadersVisibility)GetValue(HeadersVisibilityProperty); } 1246DependencyProperty.Register("HeadersVisibility", typeof(DataGridHeadersVisibility), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridHeadersVisibility.All));
System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (13)
29if (value is DataGridHeadersVisibility && parameter is DataGridHeadersVisibility) 31var valueAsDataGridHeadersVisibility = (DataGridHeadersVisibility)value; 32var parameterAsDataGridHeadersVisibility = (DataGridHeadersVisibility)parameter; 36case DataGridHeadersVisibility.All: 39case DataGridHeadersVisibility.Column: 40visible = parameterAsDataGridHeadersVisibility == DataGridHeadersVisibility.Column || 41parameterAsDataGridHeadersVisibility == DataGridHeadersVisibility.None; 43case DataGridHeadersVisibility.Row: 44visible = parameterAsDataGridHeadersVisibility == DataGridHeadersVisibility.Row || 45parameterAsDataGridHeadersVisibility == DataGridHeadersVisibility.None;
System\Windows\Controls\DataGridHelper.cs (3)
706public static bool AreRowHeadersVisible(DataGridHeadersVisibility headersVisibility) 708return (headersVisibility & DataGridHeadersVisibility.Row) == DataGridHeadersVisibility.Row;