GridItem

References
public class GridItem : IColumnItem
Helper for an item in a GridView to store values in an array.
Remarks: This should only be used when you don't have your own class to represent each row. You can use the ColumnBinding<T> to bind to an indexed value in this item.

Constructors

GridItem

#
public GridItem(params object[] values)
Initializes a new instance of the GridItem class.

Properties

Tag

#
public object Tag { get; set; }
Gets or sets a custom value to associate with this item.

Values

#
public object[] Values { get; set; }
Gets or sets the values of the row.

Methods

GetValue

#
public virtual object GetValue(int column)
Gets the value from this item for the specified column/index
column (int)column/index to get the value
value of the object with the specified column/index
GetValue

SetValue

#
public virtual void SetValue(int column, object value)
Sets the value of this object for the specified column/index
column (int)column/index to set the value
value (object)value to set at the specified column/index
SetValue