ListViewItem.ListViewSubItem
Wisej.Web.ListViewItem ListViewSubItem
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Represents a sub-item of a ListViewItem.
Constructors
ListViewSubItem()
Initializes a new instance of the ListViewSubItem class.
ListViewSubItem(owner, text)
Initializes a new instance of the ListViewSubItem class with the specified owner and text.
owner
text
The text to display for the sub item.
ListViewSubItem(owner, text, foreColor, backColor, font)
Initializes a new instance of the ListViewSubItem class with the specified owner, text, foreground color, background color, and font values.
owner
text
The text to display for the sub item.
foreColor
backColor
font
Properties
AllowHtml
Boolean: Returns or sets a value indicating that the item can display HTML text.
When AllowHtml is set to true, the text in the item can contain HTML content. If the text contains new lines (CRLF) but doesn't contain HTML elements (at least one "<") all CRLF are automatically substituted with " ".
BackColor
Color: Returns or sets the background color of the ListViewSubItem.
ColSpan
Int32: Returns or sets the number of columns that this sub-item can use to render its content when the ListView is in Details mode.
Throws:
ArgumentOutOfRangeException The value is lower than 1 or greater than 100.
Control
Control: Returns or sets a child control to display inside the sub-item.
Font
Font: Returns or sets the font of the text displayed by the ListViewSubItem.
ForeColor
Color: Returns or sets the foreground color of the ListViewSubItem.
HasUserData
Boolean: Checks if the UserData dynamic object was created and has any value.
Name
String: Returns or sets the name associated with this subitem.
RowSpan
Int32: Returns or sets the number of rows that this sub-item can use to render its content when the ListView is in Details mode.
Throws:
ArgumentOutOfRangeException The value is lower than 1 or greater than 100.
Tag
Object: Returns or sets an object that contains data to associate with the sub-item.
Text
String: Returns or sets the text of the sub item.
UserData
Object: Returns a dynamic object that can be used to store custom data in relation to this item.
Methods
Dispose()
Releases all resources used by the ListViewSubItem.
Last updated