20 references to Pixel
Microsoft.VisualStudio.LanguageServices.CSharp (3)
SemanticSearch\SemanticSearchToolWindowImpl.cs (3)
114
toolWindowGrid.RowDefinitions.Add(new RowDefinition() { Height = new GridLength(ToolBarHeight, GridUnitType.
Pixel
) });
122
toolbarGrid.ColumnDefinitions.Add(new ColumnDefinition() { Width = new GridLength(ToolBarHeight, GridUnitType.
Pixel
) });
123
toolbarGrid.ColumnDefinitions.Add(new ColumnDefinition() { Width = new GridLength(ToolBarHeight, GridUnitType.
Pixel
) });
PresentationFramework (17)
MS\Internal\PtsHost\TableParaClient.cs (2)
1966
case (GridUnitType.
Pixel
):
2041
Debug.Assert(_calculatedColumns[i].UserWidth.GridUnitType == GridUnitType.Auto || _calculatedColumns[i].UserWidth.GridUnitType == GridUnitType.Star || _calculatedColumns[i].UserWidth.GridUnitType == GridUnitType.
Pixel
, "Unexpected GridUnitType");
System\Windows\Controls\DefinitionBase.cs (2)
841
|| _userSize.GridUnitType == GridUnitType.
Pixel
);
844
if (currentGridLength.GridUnitType == GridUnitType.
Pixel
)
System\Windows\Controls\Grid.cs (3)
1092
case (GridUnitType.
Pixel
):
2123
case (GridUnitType.
Pixel
):
2409
case (GridUnitType.
Pixel
):
System\Windows\Documents\TableColumn.cs (2)
191
if ((gridLength.GridUnitType == GridUnitType.
Pixel
|| gridLength.GridUnitType == GridUnitType.Star) &&
198
if (gridLength.GridUnitType == GridUnitType.
Pixel
&& (gridLength.Value > maxPixel))
System\Windows\GridLength.cs (3)
68
: this(pixels, GridUnitType.
Pixel
)
100
&& type != GridUnitType.
Pixel
186
public bool IsAbsolute { get { return (_unitType == GridUnitType.
Pixel
); } }
System\Windows\GridLengthConverter.cs (1)
132
type = GridUnitType.
Pixel
;
System\Windows\Markup\XamlGridLengthSerializer.cs (4)
81
&& gridUnitType == GridUnitType.
Pixel
)
143
unitType = GridUnitType.
Pixel
;
183
unit = GridUnitType.
Pixel
;
238
Debug.Assert( unit == GridUnitType.
Pixel