17 references to Unit
System.Web (16)
UI\ObjectStateFormatter.cs (1)
610return new Unit(reader.ReadDouble(), (UnitType)reader.ReadInt32());
UI\WebControls\Adapters\MenuAdapter.cs (2)
381spacerImage.Width = new Unit(indent, owner.StaticSubMenuIndent.Type); 384spacerImage.Width = new Unit(Unit.MaxValue, owner.StaticSubMenuIndent.Type);;
UI\WebControls\FontUnit.cs (2)
133public FontUnit(double value) : this(new Unit(value, UnitType.Point)) { 140public FontUnit(double value, UnitType type) : this(new Unit(value, type)) {
UI\WebControls\MenuItem.cs (2)
977indent = new Unit(indentValue, indent.Type); 980indent = new Unit(Unit.MaxValue, indent.Type);
UI\WebControls\MenuRendererStandards.cs (3)
205indent = new Unit(1, UnitType.Em); 211indent = new Unit(indentValue, indent.Type); 214indent = new Unit(Unit.MaxValue, indent.Type);
UI\WebControls\Unit.cs (2)
325return new Unit(n,UnitType.Percentage); 342return new Unit(n,UnitType.Point);
UI\WebParts\AppearanceEditorPart.cs (2)
112height = new Unit(heightValue, _height.Type); 144width = new Unit(widthValue, _width.Type);
UI\WebParts\ToolZone.cs (1)
307style.Font.Size = new FontUnit(new Unit(100, UnitType.Percentage));
UI\WebParts\WebPartZoneBase.cs (1)
1450style.Font.Size = new FontUnit(new Unit(100, UnitType.Percentage));
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
649result.Width = new Unit(100, UnitType.Percentage);