Skip to content

peAlignView - cBaseLocalControlHost

Controls padding for web views with a maximum width

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

{ WebProperty=Client }
Property Integer peAlignView
Access Type Syntax
Read Access: WebGet peAlignView to IntegerVariable
Write Access: WebSet peAlignView to IntegerVariable/Value

Description

Once a view's maximum width (piMaxWidth) is reached, the view's width will not change and padding will be added to the right or left hand side of the view. This padding is controlled at the application level by setting peAlignView.

Valid values are:

Constant Meaning
alignLeft View is left aligned up to maximum width, then padding is added to the right.
alignCenter View is center aligned up to maximum width, then padding is added to the left and right.
alignRight View is right aligned up to maximum width, then padding is added to the left.

About Web Properties

Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.

The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.

See Also

WebSetResponsive

About Web Properties

Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.

The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.