Table of Contents

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

int

DefaultRowCount

public const int DefaultRowCount = 3

Field Value

int

Properties

AcceptDropPredicate

public override Predicate<Widget> AcceptDropPredicate { get; set; }

Property Value

Predicate<Widget>

ColumnCount

[Editor(false)]
public int ColumnCount { get; set; }

Property Value

int

DefaultCellHeight

[Editor(false)]
public float DefaultCellHeight { get; set; }

Property Value

float

DefaultCellWidth

[Editor(false)]
public float DefaultCellWidth { get; set; }

Property Value

float

DefaultScaledCellHeight

public float DefaultScaledCellHeight { get; }

Property Value

float

DefaultScaledCellWidth

public float DefaultScaledCellWidth { get; }

Property Value

float

GridLayout

public GridLayout GridLayout { get; }

Property Value

GridLayout

IsDragHovering

public override bool IsDragHovering { get; }

Property Value

bool

RowCount

[Editor(false)]
public int RowCount { get; set; }

Property Value

int

UseDynamicCellHeight

[Editor(false)]
public bool UseDynamicCellHeight { get; set; }

Property Value

bool

UseDynamicCellWidth

[Editor(false)]
public bool UseDynamicCellWidth { get; set; }

Property Value

bool

Methods

GetDropGizmoPosition(Vector2)

public override Vector2 GetDropGizmoPosition(Vector2 draggedWidgetPosition)

Parameters

draggedWidgetPosition Vector2

Returns

Vector2

GetIndexForDrop(Vector2)

public override int GetIndexForDrop(Vector2 draggedWidgetPosition)

Parameters

draggedWidgetPosition Vector2

Returns

int

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).