28 references to DataGridHeadersVisibility
PresentationFramework (28)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (4)
242if ((this.OwningDataGrid.HeadersVisibility & DataGridHeadersVisibility.Column) == DataGridHeadersVisibility.Column) 276if ((this.OwningDataGrid.HeadersVisibility & DataGridHeadersVisibility.Row) == DataGridHeadersVisibility.Row)
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (4)
568(this.OwningDataGrid.HeadersVisibility & DataGridHeadersVisibility.Column) == DataGridHeadersVisibility.Column && 590(this.OwningDataGrid.HeadersVisibility & DataGridHeadersVisibility.Row) == DataGridHeadersVisibility.Row)
System\Windows\Controls\DataGrid.cs (4)
1245public DataGridHeadersVisibility HeadersVisibility 1247get { return (DataGridHeadersVisibility)GetValue(HeadersVisibilityProperty); } 1255DependencyProperty.Register("HeadersVisibility", typeof(DataGridHeadersVisibility), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridHeadersVisibility.All));
System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (13)
31if (value is DataGridHeadersVisibility && parameter is DataGridHeadersVisibility) 33var valueAsDataGridHeadersVisibility = (DataGridHeadersVisibility)value; 34var parameterAsDataGridHeadersVisibility = (DataGridHeadersVisibility)parameter; 38case DataGridHeadersVisibility.All: 41case DataGridHeadersVisibility.Column: 42visible = parameterAsDataGridHeadersVisibility == DataGridHeadersVisibility.Column || 43parameterAsDataGridHeadersVisibility == DataGridHeadersVisibility.None; 45case DataGridHeadersVisibility.Row: 46visible = parameterAsDataGridHeadersVisibility == DataGridHeadersVisibility.Row || 47parameterAsDataGridHeadersVisibility == DataGridHeadersVisibility.None;
System\Windows\Controls\DataGridHelper.cs (3)
712public static bool AreRowHeadersVisible(DataGridHeadersVisibility headersVisibility) 714return (headersVisibility & DataGridHeadersVisibility.Row) == DataGridHeadersVisibility.Row;