ListViewItem.SetText Method (Typed) | |
Set the text label of a column.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD SetText(
cNewText AS STRING,
symColumnName AS SYMBOL,
nImageIndex AS LONG
) AS VOID
public virtual void SetText(
string cNewText,
Symbol symColumnName,
[DefaultParameterValueAttribute(-1, 0)] int nImageIndex
)
Request Example
View SourceParameters
- cNewText
- Type: String
The text to be added to the column. - symColumnName
- Type: Symbol
The symbolic name of the column whose text you want to set. - nImageIndex
- Type: Long
A numeric value that represents the index of the list view’s column image in the image list.
Remarks Tip |
---|
SubItemImages only work if the ListView control has the style LVS_EX_SUBITEMIMAGES. You can set this style with ListView:SetExLVStyle(LVS_EX_SUBITEMIMAGES).
|
Examples
See the ListView:AddItem() method for sample syntax.
See Also