Share via


Text Property (MobileListItem)

Sets or returns the identifier for the specified list item.

public string Text {
   get,
   set
}

Remarks

If the Text property is an empty string or is never set, either through the Text property itself or the constructor, it returns the value of the Value property for the specified list item. The default value is an empty string.

The Text property can be specified by using the Text attribute, or as inner text. If the Text property is specified in both ways, the inner text always takes precedence. However, if the Text property is programmatically set, the inner text is automatically removed and the newly set property takes precedence.

See Also

Applies to: MobileListItem Class