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)
1972
case (GridUnitType.
Pixel
):
2047
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)
848
|| _userSize.GridUnitType == GridUnitType.
Pixel
);
851
if (currentGridLength.GridUnitType == GridUnitType.
Pixel
)
System\Windows\Controls\Grid.cs (3)
1102
case (GridUnitType.
Pixel
):
2133
case (GridUnitType.
Pixel
):
2419
case (GridUnitType.
Pixel
):
System\Windows\Documents\TableColumn.cs (2)
199
if ((gridLength.GridUnitType == GridUnitType.
Pixel
|| gridLength.GridUnitType == GridUnitType.Star) &&
206
if (gridLength.GridUnitType == GridUnitType.
Pixel
&& (gridLength.Value > maxPixel))
System\Windows\GridLength.cs (3)
69
: this(pixels, GridUnitType.
Pixel
)
101
&& type != GridUnitType.
Pixel
188
public bool IsAbsolute { get { return (_unitType == GridUnitType.
Pixel
); } }
System\Windows\GridLengthConverter.cs (1)
137
type = GridUnitType.
Pixel
;
System\Windows\Markup\XamlGridLengthSerializer.cs (4)
91
&& gridUnitType == GridUnitType.
Pixel
)
153
unitType = GridUnitType.
Pixel
;
193
unit = GridUnitType.
Pixel
;
248
Debug.Assert( unit == GridUnitType.
Pixel