18 references to Pixel
PresentationFramework (17)
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (2)
2093
case (GridUnitType.
Pixel
):
2168
Debug.Assert(_calculatedColumns[i].UserWidth.GridUnitType == GridUnitType.Auto || _calculatedColumns[i].UserWidth.GridUnitType == GridUnitType.Star || _calculatedColumns[i].UserWidth.GridUnitType == GridUnitType.
Pixel
, "Unexpected GridUnitType");
src\Framework\System\Windows\Controls\DefinitionBase.cs (2)
847
|| _userSize.GridUnitType == GridUnitType.
Pixel
);
850
if (currentGridLength.GridUnitType == GridUnitType.
Pixel
)
src\Framework\System\Windows\Controls\Grid.cs (3)
1165
case (GridUnitType.
Pixel
):
2197
case (GridUnitType.
Pixel
):
2486
case (GridUnitType.
Pixel
):
src\Framework\System\Windows\Documents\TableColumn.cs (2)
204
if ((gridLength.GridUnitType == GridUnitType.
Pixel
|| gridLength.GridUnitType == GridUnitType.Star) &&
211
if (gridLength.GridUnitType == GridUnitType.
Pixel
&& (gridLength.Value > maxPixel))
src\Framework\System\Windows\GridLength.cs (3)
73
: this(pixels, GridUnitType.
Pixel
)
105
&& type != GridUnitType.
Pixel
192
public bool IsAbsolute { get { return (_unitType == GridUnitType.
Pixel
); } }
src\Framework\System\Windows\GridLengthConverter.cs (1)
141
type = GridUnitType.
Pixel
;
src\Framework\System\Windows\Markup\XamlGridLengthSerializer.cs (4)
96
&& gridUnitType == GridUnitType.
Pixel
)
162
unitType = GridUnitType.
Pixel
;
202
unit = GridUnitType.
Pixel
;
262
Debug.Assert( unit == GridUnitType.
Pixel
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\SharedPropertyValueColumnWidthContainer.cs (1)
61
if (value.GridUnitType != GridUnitType.
Pixel
)