GridEntry

References
public abstract class GridEntry
A single entry in a grid of entries. You can think of this as a single line in a multiline text describing a collection of data.

Constructors

GridEntry

#
public GridEntry()

Properties

CanEditMeta

#
public virtual bool CanEditMeta { get; }
Gets whether meta data can be editor in the current state. Return true to enable the META button on the entry.

CanPick

#
public virtual bool CanPick { get; }
Gets whether the entry can be picked in its current state. Return true to enable the PICK button on the entry.

HasMeta

#
public virtual bool HasMeta { get; }
Gets whether the entry can potentially contain meta data. Return true to include a META button on the entry.

HasPick

#
public virtual bool HasPick { get; }
Gets whether the entry can potentially be picked from UI. Return true to incluce a PICK button on the entry.

Icon

#
public virtual IIcon Icon { get; }
Gets the icon, if any, associated with the current state. This property gets called a lot, so make it spiffy.

IconMessage

#
public virtual string IconMessage { get; }
Override this to provive a tooltip message for the icon.

IconTitle

#
public virtual string IconTitle { get; }
Override this to provive a tooltip title for the icon.

Index

#
public int Index { get; }
Gets the index of this entry. Negative indices are not drawn.

IndexOverride

#
public virtual int? IndexOverride { get; }
Optional index override. If this property returns a negative index, it is assumed to not have one.

Item

#
public abstract IEntryField Item { get; }
Gets the entry field for the item column.

MetaData

#
public virtual MetaData MetaData { get; set; }
Gets or sets the meta data in the current entry.

Name

#
public abstract IEntryField Name { get; }
Gets the entry field for the name column.

Selected

#
public bool Selected { get; }
Gets whether this entry is selected.

Methods

OnModified

#
public void OnModified()
Raise the Modified event.

RunPick

#
public virtual void RunPick()
This gets called when the user clicks on the PICK button.

SetItem

#
public abstract void SetItem(string text)
text (string)

SetName

#
public abstract void SetName(string text)
text (string)

Events

Modified

#
public event EventHandler Modified
Raised when the value inside this entry is (possibly) modified.