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

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

CanPick

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

HasMeta

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

HasPick

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

Icon

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

IconMessage

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

IconTitle

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

Index

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

IndexOverride

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

Item

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

MetaData

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

Name

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

Selected

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

Methods

OnModified

#
Raise the Modified event.
public void OnModified()

RunPick

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

SetItem

#
public abstract void SetItem(
text
)

SetName

#
public abstract void SetName(
text
)

Events

Modified

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