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
Properties
Button
[Editor(false)]
public ButtonWidget Button { get; set; }
Property Value
CurrentSelectedIndex
[Editor(false)]
public int CurrentSelectedIndex { get; set; }
Property Value
DoNotHandleDropdownListPanel
[Editor(false)]
public bool DoNotHandleDropdownListPanel { get; set; }
Property Value
IsOpen
public bool IsOpen { get; set; }
Property Value
ListPanel
[Editor(false)]
public ListPanel ListPanel { get; set; }
Property Value
ListPanelValue
[Editor(false)]
public int ListPanelValue { get; set; }
Property Value
RichTextWidget
[Editor(false)]
public RichTextWidget RichTextWidget { get; set; }
Property Value
ScrollablePanel
[Editor(false)]
public ScrollablePanel ScrollablePanel { get; set; }
Property Value
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
OnListItemRemoved(Widget, Widget)
public void OnListItemRemoved(Widget removedItem, Widget removedChild)
Parameters
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).