Class NativeGridPanel
Represents a grid where you can select X and Y values.
Inherited Members
Namespace: LemonUI.Menus
Assembly: LemonUI.SHVDN3.dll
Syntax
public class NativeGridPanel : NativePanel
Constructors
View SourceNativeGridPanel()
Creates a new NativeGridPanel.
Declaration
public NativeGridPanel()
Properties
View SourceClickable
If the item has controls that can be clicked.
Declaration
public override bool Clickable { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
View SourceLabelBottom
The text label shown on the bottom.
Declaration
public string LabelBottom { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LabelLeft
The text label shown on the left.
Declaration
public string LabelLeft { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LabelRight
The text label shown on the right.
Declaration
public string LabelRight { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LabelTop
The text label shown on the top.
Declaration
public string LabelTop { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Style
The style of this grid.
Declaration
public GridStyle Style { get; set; }
Property Value
| Type | Description |
|---|---|
| GridStyle |
X
The X value between 0 and 1.
Declaration
public float X { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Y
The X value between 0 and 1.
Declaration
public float Y { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Methods
View SourceProcess()
Processes and Draws the panel.
Declaration
public override void Process()
Overrides
View SourceRecalculate(PointF, float)
Recalculates the menu contents.
Declaration
public override void Recalculate(PointF position, float width)
Parameters
| Type | Name | Description |
|---|---|---|
| PointF | position | The position of the panel. |
| float | width | The width of the menu. |
Overrides
Events
View SourceValuesChanged
Event triggered when X and/or Y values are changed.
Declaration
public event GridValueChangedEventHandler ValuesChanged
Event Type
| Type | Description |
|---|---|
| GridValueChangedEventHandler |