CssClass Property

Gets or sets the CSS class, or classes, for the control in Newlook Server. Server-only.

object.CssClass = [string]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and string is a string expression specifying the class name.

Client support

Newlook Server only.

Use

If your Newlook Server solution uses Cascading Style Sheets (CSS) then this property can be used to specify the custom CSS class applied to the control when it is rendered in Newlook Server.

This property is useful when you want to add an additional level of styling to individual controls, particularly to optimize display in for certain devices.

Setting this property in the IDE will automatically insert the relevant class in the generated HTML:

As long as the class specified in this property is defined in your CSS, then the resulting style will be applied in your Server client.

See Also

InputType property

Applies To

Check box control

Combo box control

Command button control

Data control

DataGrid control

Date combo box control

Form object

Frame control

HTML control

IFrame control

Label control

List box control

Menu button control

Numeric combo control

Option button control

Panel control

SmartNav control

Tab control

Text box control


© 2004-2021 looksoftware. All rights reserved.