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