Table of Contents

Class DropdownWidget

Namespace
TaleWorlds.GauntletUI.BaseTypes
Assembly
TaleWorlds.GauntletUI.dll
public class DropdownWidget : Widget
Inheritance
DropdownWidget
Derived
Inherited Members
Extension Methods

Constructors

DropdownWidget(UIContext)

public DropdownWidget(UIContext context)

Parameters

context UIContext

Fields

OnOpenStateChanged

public Action<DropdownWidget> OnOpenStateChanged

Field Value

Action<DropdownWidget>

Properties

Button

[Editor(false)]
public ButtonWidget Button { get; set; }

Property Value

ButtonWidget

CurrentSelectedIndex

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

Property Value

int

DoNotHandleDropdownListPanel

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

Property Value

bool

IsOpen

public bool IsOpen { get; set; }

Property Value

bool

ListPanel

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

Property Value

ListPanel

ListPanelValue

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

Property Value

int

RichTextWidget

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

Property Value

RichTextWidget

ScrollablePanel

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

Property Value

ScrollablePanel

Methods

ClosePanel()

protected virtual void ClosePanel()

OnButtonClick(Widget)

public void OnButtonClick(Widget widget)

Parameters

widget Widget

OnConnectedToRoot()

protected override void OnConnectedToRoot()

OnLateUpdate(float)

protected override void OnLateUpdate(float dt)

Parameters

dt float

OnListItemAdded(Widget, Widget)

public void OnListItemAdded(Widget parentWidget, Widget newChild)

Parameters

parentWidget Widget
newChild Widget

OnListItemRemoved(Widget, Widget)

public void OnListItemRemoved(Widget removedItem, Widget removedChild)

Parameters

removedItem Widget
removedChild Widget

OnSelectionChanged(Widget)

public void OnSelectionChanged(Widget widget)

Parameters

widget Widget

OnUpdate(float)

protected override void OnUpdate(float dt)

Parameters

dt float

OpenPanel()

protected virtual void OpenPanel()

UpdateButtonText(string)

public void UpdateButtonText(string text)

Parameters

text string

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).