MobileForms Toolkit Documentation

Item Properties

The properties of the Item class are listed below. For a complete list of Item class members, see the Item Members topic.

Public Instance Properties

AutoHeight 
BindingContext Gets or sets the BindingContext for the item.
Control Get the Control associated with the Item.
DataMember Gets or sets the data member the item is bound to.
DisabledEvents Gets or sets boolean of Events status.
EditValue 
Enabled Gets or sets a value indicating whether the Item can respond to user interaction.
ErrorBackground Get or sets whether the error color will be used as background color.
ErrorColor Get or sets the error background color of the text.
ErrorMessage Gets or sets the error message on Item.
Height Gets or sets the height of the Item.
Index Gets the index of the Item in the DetailView's item collection.
ItemBorder Gets or sets the item border style.
ItemHeight Gets the whole height of the Item, including the label height.
ItemWidth Gets or sets the width of the Item.
Label Get or sets the label associated with Item.
LabelAlignment Gets or sets how label is aligned in an Item.
LabelAutoHeight 
LabelBackColor Gets or sets the background color for the label.
LabelFont Gets or sets the font of the label displayed by the Item.
LabelForeColor Get or sets the foreground color of the label.
LabelHeight Gets or sets the label height of the Item.
LabelToolTip Gets or sets the whether the label should show tooltip if text does not fit.
LabelWidth Gets or sets the label width of the Item.
LineAlign 
Name Gets or sets the name of the Item.
NewLine Gets or sets the Item display on new line.
Parent Parent control.
RoundedCorner Gets or sets the corners which will be rounded.
Site 
Style Gets or sets the style of the item.
Tag Gets or sets the object that contains data about the control.
Text Gets or sets the string of the Item.
TextAlign Gets or sets how text is aligned in the text part of the Item.
TextBackColor Get or sets the background color of the text.
TextFont Gets or sets the font of the text displayed by the Item.
TextForeColor Get or sets the foreground color of the text.
Value Gets or sets the object of the Item.
Visible Gets or sets the Item visibility.

Protected Internal Instance Properties

InternalLabelWidth Gets actual label width for the item.

See Also

Item Class | Resco.Controls.DetailView Namespace