Class GridWidget
- Namespace
- TaleWorlds.GauntletUI.BaseTypes
- Assembly
- TaleWorlds.GauntletUI.dll
public class GridWidget : Container
- Inheritance
-
GridWidget
- Derived
- Inherited Members
- Extension Methods
Constructors
GridWidget(UIContext)
public GridWidget(UIContext context)
Parameters
context
UIContext
Fields
DefaultColumnCount
public const int DefaultColumnCount = 3
Field Value
DefaultRowCount
public const int DefaultRowCount = 3
Field Value
Properties
AcceptDropPredicate
public override Predicate<Widget> AcceptDropPredicate { get; set; }
Property Value
ColumnCount
[Editor(false)]
public int ColumnCount { get; set; }
Property Value
DefaultCellHeight
[Editor(false)]
public float DefaultCellHeight { get; set; }
Property Value
DefaultCellWidth
[Editor(false)]
public float DefaultCellWidth { get; set; }
Property Value
DefaultScaledCellHeight
public float DefaultScaledCellHeight { get; }
Property Value
DefaultScaledCellWidth
public float DefaultScaledCellWidth { get; }
Property Value
GridLayout
public GridLayout GridLayout { get; }
Property Value
IsDragHovering
public override bool IsDragHovering { get; }
Property Value
RowCount
[Editor(false)]
public int RowCount { get; set; }
Property Value
UseDynamicCellHeight
[Editor(false)]
public bool UseDynamicCellHeight { get; set; }
Property Value
UseDynamicCellWidth
[Editor(false)]
public bool UseDynamicCellWidth { get; set; }
Property Value
Methods
GetDropGizmoPosition(Vector2)
public override Vector2 GetDropGizmoPosition(Vector2 draggedWidgetPosition)
Parameters
draggedWidgetPosition
Vector2
Returns
GetIndexForDrop(Vector2)
public override int GetIndexForDrop(Vector2 draggedWidgetPosition)
Parameters
draggedWidgetPosition
Vector2
Returns
OnChildSelected(Widget)
public override void OnChildSelected(Widget widget)
Parameters
widget
Widget
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).