Difference between revisions of "iOSTableCellData.Tag"

From Xojo Documentation

m
 
Line 13: Line 13:
 
Add a cell tag:
 
Add a cell tag:
 
<rbcode>
 
<rbcode>
Dim cell As iOSTableCellData = Table1.CreateCell
+
Var cell As iOSTableCellData = Table1.CreateCell
 
cell.Text = "Acme Widget"
 
cell.Text = "Acme Widget"
 
cell.Tag = "123" // part ID
 
cell.Tag = "123" // part ID
 
Table1.AddRow(0, cell)
 
Table1.AddRow(0, cell)
 
</rbcode>
 
</rbcode>

Latest revision as of 17:34, 20 July 2019

Property (As Auto )
aiOSTableCellData.Tag = newAutoValue
or
AutoValue = aiOSTableCellData.Tag

Supported on Mobile (iOS).

A tag value for the cell.

Sample Code

Add a cell tag:

Var cell As iOSTableCellData = Table1.CreateCell
cell.Text = "Acme Widget"
cell.Tag = "123" // part ID
Table1.AddRow(0, cell)