AxpDataGrid

EditFieldItem.CssClass Property

Gets or sets the Cascading Style Sheet (CSS) class rendered by the EditFieldItem on the client.

[Visual Basic]
Public Property CssClass As String
[C#]
public string CssClass {get; set;}

Property Value

The CSS class rendered by the EditFieldItem on the client. The default is String.Empty.

Remarks

Use the CssClass property to specify the CSS class to render on the client for the EditFieldItem. This property will render on browsers for all controls. It will always be rendered as the class attribute, regardless of the browser.

On browsers that do not support CSS, setting the CssClass property will have no effect.

Example

Dim efi As New Axezz.WebControls.EditFieldItem
efi.ColumnName = "ProductName"
efi.CssClass = "myClass"

See Also

EditFieldItem Class | Axezz.WebControls Namespace