Skip to main content
You are viewing help content for pre-release software. This document and the features it describes are subject to change.

DataFormSwitchItem Properties

Stores settings of the data form’s switch control.
Name Description
BackgroundColor Gets or sets the background color of the data form’s item. Inherited from DataFormItem.
BottomTextFontAttributes Specifies whether the editor’s help and error text is bold or italic. Inherited from DataFormItem.
BottomTextFontFamily Gets or sets the name of the font for the editor’s help and error text. Inherited from DataFormItem.
BottomTextFontSize Gets or sets the font size of the editor’s help and error text. Inherited from DataFormItem.
DisplayFormat Inherited from DataFormItem.
EditorHorizontalAlignment
EditorMaxWidth Gets or sets the maximum width of the edit box. Inherited from DataFormItem.
EditorMinWidth Gets or sets the minimum width of the edit box. Inherited from DataFormItem.
EditorWidth Gets or sets the width of the edit box. Inherited from DataFormItem.
ErrorColor Specifies the color of the editor’s borders, in-place label, error icon, and error message. Inherited from DataFormItem.
FieldName Gets or sets the name of the data object’s property to which the editor is bound. Inherited from DataFormItem.
GroupName Gest or sets the name of the group that contains the editor. Inherited from DataFormItem.
HelpText Specifies the input prompt string displayed below the edit box. Inherited from DataFormItem.
HelpTextColor Specifies the color of help text displayed below the editor. Inherited from DataFormItem.
IsEnabled Inherited from DataFormItem.
IsLabelVisible Specifies whether the data form displays a label for the editor. Inherited from DataFormItem.
IsVisible Specifies whether the editor is visible on the data form. Inherited from DataFormItem.
ItemOrderInRow Gets or sets the editor’s position in a row. Inherited from DataFormItem.
LabelColor Specifies the color of the editor’s label (text or icon). Inherited from DataFormItem.
LabelFontAttributes Gets or sets the font style for the editor’s text label. Inherited from DataFormItem.
LabelFontFamily Gets or sets the font family name for the editor’s text label. Inherited from DataFormItem.
LabelFontSize Gets or sets the font size for the editor’s text label. Inherited from DataFormItem.
LabelHorizontalAlignment Gets or sets the horizontal alignment of a label displayed above the editor. Inherited from DataFormItem.
LabelIcon Gets or sets an image used as the editor’s label. Inherited from DataFormItem.
LabelIndent Gets or sets the distance between the editor and its label. Inherited from DataFormItem.
LabelMaxWidth Gets or sets the maximum width of the editor’s label. Inherited from DataFormItem.
LabelMinWidth Gets or sets the minimum width of the editor’s label. Inherited from DataFormItem.
LabelPosition Gets or sets the position of a label relative to the editor. Inherited from DataFormItem.
LabelText Gets or sets the editor’s label text. Inherited from DataFormItem.
LabelWidth Gets or sets the width of the editor’s label. Inherited from DataFormItem.
OnColor
Padding Gets or sets the distance between the data form item’s edges and content (editor and label). Inherited from DataFormItem.
ReserveBottomTextLine Allows you to reserve a line for help and error text below the editor. Inherited from DataFormItem.
RowOrder Specifies the row in which the editor is located. Inherited from DataFormItem.
RowSpan Gets or sets the number of layout rows that this item spans. Inherited from DataFormItem.
ThumbColor
See Also