PercentWidth Property (FlexObject)

Class

FlexObject.

Action

Gets the number that specifies the width of a component as a percentage of its parent's size. Allowed values are 0-100. The default value is NaN. Setting the width or explicitWidth properties resets this property to NaN.

This property returns a numeric value only if the property was previously set; it does not reflect the exact size of the component in percent.

This property is always set to NaN for the UITextField control.

Syntax

'Declaration
Protected Read Property percentWidth As Double

Access

Read only.