20 references to Pixel
Microsoft.VisualStudio.LanguageServices.CSharp (3)
SemanticSearch\SemanticSearchToolWindowImpl.cs (3)
114toolWindowGrid.RowDefinitions.Add(new RowDefinition() { Height = new GridLength(ToolBarHeight, GridUnitType.Pixel) }); 122toolbarGrid.ColumnDefinitions.Add(new ColumnDefinition() { Width = new GridLength(ToolBarHeight, GridUnitType.Pixel) }); 123toolbarGrid.ColumnDefinitions.Add(new ColumnDefinition() { Width = new GridLength(ToolBarHeight, GridUnitType.Pixel) });
PresentationFramework (17)
MS\Internal\PtsHost\TableParaClient.cs (2)
1972case (GridUnitType.Pixel): 2047Debug.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 ); 851if (currentGridLength.GridUnitType == GridUnitType.Pixel)
System\Windows\Controls\Grid.cs (3)
1102case (GridUnitType.Pixel): 2133case (GridUnitType.Pixel): 2419case (GridUnitType.Pixel):
System\Windows\Documents\TableColumn.cs (2)
199if ((gridLength.GridUnitType == GridUnitType.Pixel || gridLength.GridUnitType == GridUnitType.Star) && 206if (gridLength.GridUnitType == GridUnitType.Pixel && (gridLength.Value > maxPixel))
System\Windows\GridLength.cs (3)
69: this(pixels, GridUnitType.Pixel) 101&& type != GridUnitType.Pixel 188public bool IsAbsolute { get { return (_unitType == GridUnitType.Pixel); } }
System\Windows\GridLengthConverter.cs (1)
137type = GridUnitType.Pixel;
System\Windows\Markup\XamlGridLengthSerializer.cs (4)
91&& gridUnitType == GridUnitType.Pixel ) 153unitType = GridUnitType.Pixel; 193unit = GridUnitType.Pixel; 248Debug.Assert( unit == GridUnitType.Pixel