The Width class is abstract, meaning that a new instance cannot be created. Additionally, this abstract class does not have any properties aside from Width.Type. When accessing this property, the returned object should be cast to the appropriate derived type, while when setting this property, the constructor of the desired type should be used.
The instantiable classes are RelativeWidth, FixedWidth, MaxWidth and AutoWidth.
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
View on GitHub