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