ComponentOne FormDecorator for ASP.NET AJAX: Decorated Controls

Decorated Controls

C1FormDecorater can style most ASP.NET Web Server controls, ASP.NET HTML Server controls, and HTML tags such as FieldSet and <h3> through <h5> heading tags. The controls and elements that C1FormDecorator can style are known as decorated controls. By using C1FormDecorator you can apply its built-in visual styles such as the “Arctic Fox” visual style to the decorated controls and/or elements to create a more unified look.

C1FormDecorator has a property called DecoratedControls that allows you to select which controls you want C1FormDecorator to style. This property takes an enumeration of type FormDecoratorDecoratedControls.

To specify the decorated controls select one of the values in the FormDecoratorDecoratedControls Enum. The following table lists and describes each of the values included in the FormDecoratorDecoratedControls Enum:

 

Value

Description

All

Decorates all of the supported decorated controls. This is the default value.

Button

Decorates the Web Server and the HTML Server Button controls such as the Button, Submit, and Reset buttons.

CheckBox

Decorates the Web Server CheckBox and CheckBoxList controls and/or the HTML Server Input (Checkbox) control.

FieldSet

Decorates the FieldSet tag to that is used to logically group together elements in a form.

H3H4H5

Decorates the heading 3, heading 4, and heading 5 styles assigned in the HTML tags.

Label

Decorates the Web Server and/or the HTML Server Label controls.

None

Decorates none of the supported decorated controls.

RadioButton

Decorates the Web Server RadioButton and RadioButtonList controls.

ScrollBar

Decorates any scrollbars included in the supported decorated controls as well as the scrollbars inside a Panel control.

TextArea

Decorates the HTML Server Textarea control.

TextBox

Decorates the Web Server TextBox and the HTML Server Input (Text) controls.

DropDownList

Decorates the HTML Server Select and the Web Server DropDownList controls.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.