25 references to Type
System.Web (23)
UI\Html32TextWriter.cs (3)
256if (fu.Unit.Type == UnitType.Point) { 279if (u.Type == UnitType.Pixel) { 282if (u.Type == UnitType.Percentage) {
UI\ObjectStateFormatter.cs (1)
1158writer.Write((int)uval.Type);
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\MenuItem.cs (2)
977indent = new Unit(indentValue, indent.Type); 980indent = new Unit(Unit.MaxValue, indent.Type);
UI\WebControls\MenuItemStyle.cs (3)
48if ((value.Type == UnitType.Percentage) || (value.Value < 0)) { 84if ((value.Type == UnitType.Percentage) || (value.Value < 0)) { 110if ((value.Type == UnitType.Percentage) || (value.Value < 0)) {
UI\WebControls\MenuRendererStandards.cs (2)
211indent = new Unit(indentValue, indent.Type); 214indent = new Unit(Unit.MaxValue, indent.Type);
UI\WebControls\Style.cs (1)
163if ((value.Type == UnitType.Percentage) || (value.Value < 0)) {
UI\WebControls\SubMenuStyle.cs (2)
44if ((value.Type == UnitType.Percentage) || (value.Value < 0)) { 70if ((value.Type == UnitType.Percentage) || (value.Value < 0)) {
UI\WebControls\Table.cs (1)
248if (borderWidth.IsEmpty || borderWidth.Type != UnitType.Pixel) {
UI\WebControls\TreeNodeStyle.cs (4)
50if ((value.Type == UnitType.Percentage) || (value.Value < 0)) { 75if ((value.Type == UnitType.Percentage) || (value.Value < 0)) { 132if ((value.Type == UnitType.Percentage) || (value.Value < 0)) { 157if ((value.Type == UnitType.Percentage) || (value.Value < 0)) {
UI\WebControls\unitconverter.cs (1)
99args = new object[] { u.Value, u.Type };
UI\WebParts\AppearanceEditorPart.cs (1)
325_type.SelectedValue = ((int)value.Type).ToString(CultureInfo.InvariantCulture);
System.Web.DataVisualization (2)
WebForm\ChartWebControl.cs (2)
2359 if(value.Type != UnitType.Pixel) 2457 if(value.Type != UnitType.Pixel)