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