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)
1966case (GridUnitType.Pixel): 2041Debug.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 ); 844if (currentGridLength.GridUnitType == GridUnitType.Pixel)
System\Windows\Controls\Grid.cs (3)
1092case (GridUnitType.Pixel): 2123case (GridUnitType.Pixel): 2409case (GridUnitType.Pixel):
System\Windows\Documents\TableColumn.cs (2)
191if ((gridLength.GridUnitType == GridUnitType.Pixel || gridLength.GridUnitType == GridUnitType.Star) && 198if (gridLength.GridUnitType == GridUnitType.Pixel && (gridLength.Value > maxPixel))
System\Windows\GridLength.cs (3)
68: this(pixels, GridUnitType.Pixel) 100&& type != GridUnitType.Pixel 186public bool IsAbsolute { get { return (_unitType == GridUnitType.Pixel); } }
System\Windows\GridLengthConverter.cs (1)
132type = GridUnitType.Pixel;
System\Windows\Markup\XamlGridLengthSerializer.cs (4)
81&& gridUnitType == GridUnitType.Pixel ) 143unitType = GridUnitType.Pixel; 183unit = GridUnitType.Pixel; 238Debug.Assert( unit == GridUnitType.Pixel