Class GenGridItem
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
It inherits GenItem. An instance to the gengrid item is added. It contains the Update() method to update a gengrid item which is given.
C#Copypublic class GenGridItem : GenItem
- Inheritance
Properties
Column
Gets or sets the gengrid item's column position, relative to the whole gengrid's grid area.
Declaration
C#Copypublic int Column { get; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: preview
IsSelected
Gets or sets whether a given gengrid item is selected. If one gengrid item is selected, any other previously selected items get unselected in favor of this new one.
Declaration
C#Copypublic override bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Remarks
If true, it is selected. If false, it is unselected.
API Level: preview
Row
Gets or sets the gengrid item's row position, relative to the whole gengrid's grid area.
Declaration
C#Copypublic int Row { get; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: preview
Declaration
C#Copypublic override GenItemSelectionMode SelectionMode { get; set; }
Property Value
Type | Description |
---|---|
GenItemSelectionMode |
Overrides
API Level: preview
Declaration
C#Copypublic override string TooltipStyle { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
API Level: preview
Methods
Declaration
C#Copypublic override void SetTooltipText(string tooltip)
Parameters
Type | Name | Description |
---|---|---|
System.String | tooltip | The text to set. |
Overrides
API Level: preview
Declaration
C#Copypublic override void UnsetTooltip()
Overrides
API Level: preview
Update()
Updates the content of a given gengrid item. This updates an item by calling all the GenItem class functions again to get the content, text, and states. Use this when the original item data has changed and you want the changes to reflect.
Declaration
C#Copypublic override void Update()
Overrides
Remarks
UpdateRealizedItems() to update the contents of all the realized items.
API Level: preview
Declaration
C#Copyprotected override void UpdateTooltipDelegate()