
892
|
Chapter 42: The System.Web.UI.WebControls Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.ValueType ➝ Unit
Returned By
FontUnit.Unit, Style.{BorderWidth, Height, Width}, WebControl.{BorderWidth, Height,
Width}
Passed To
FontUnit.FontUnit( ), Style.{BorderWidth, Height, Width}, WebControl.{BorderWidth, Height,
Width}
UnitConverter
System.Web.UI.WebControls (system.web.dll)
class
This class provides the functionality needed to convert a Unit structure to a System.Int32
value. This class is never accessed directly. You can access its functionality through the
System.ComponentModel.TypeDescriptor helper class.
public Unit( double value);
public Unit( double value, UnitType type);
public Unit( int value);
public Unit( string value);
public Unit(string value, System.Globalization.CultureInfo culture);
// Public Static Fields
public static readonly Unit Empty;
// Public Instance Properties
public bool IsEmpty{get; }
public UnitType Type{get; }
public double Value{get; }
// Public Static Methods
public static Unit Parse( string s);
public static Unit Parse(string s, System.Globalization.CultureInfo culture);
public static Unit Percentage( double n);
public static Unit Pixel( int n);
public static Unit Point( int n);
public static bool operator !=(Unit left, Unit right);
public static bool operator ...