Version

PreferredWidthAsPercentage Property

Returns or sets the preferred width of the associated table, expressed as a percentage of the width of the containing element.
Syntax
'Declaration
 
Public Property PreferredWidthAsPercentage As Nullable(Of Single)
public Nullable<float> PreferredWidthAsPercentage {get; set;}
Remarks

This property is only applicable when the Layout property is set to 'Fixed'.

This value is considered preferred because a consumer may elect to override this value based on the current table layout algorithm.

The valid range for this property's value is a number between .02 and 100. Note that the unit of measure is not defined by the associated document writer's unit of measure.

The PreferredWidthAsPercentage property and the PreferredWidth properties are mutually exclusive, and the PreferredWidth property takes precedence, so in the case where both properties are explicitly set, the PreferredWidth property takes precedence, and this property is not applicable.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also