Show / Hide Table of Contents

Class ComboBoxString

The combobox allows you to display a list of options to the user in a dropdown menu for them to select one.

Inheritance
System.Object
UObject
Visual
Widget
ComboBoxString
Inherited Members
Widget.ForceLayoutPrepass()
Widget.ForceVolatile(Boolean)
Widget.GetCachedGeometry(Geometry)
Widget.GetClipping()
Widget.GetDesiredSize()
Widget.GetIsEnabled()
Widget.GetOwningLocalPlayer()
Widget.GetOwningPlayer()
Widget.GetParent()
Widget.GetRenderOpacity()
Widget.GetVisibility()
Widget.HasAnyUserFocus()
Widget.HasFocusedDescendants()
Widget.HasKeyboardFocus()
Widget.HasMouseCapture()
Widget.HasMouseCaptureByUser(Int32, Int32)
Widget.HasUserFocus(PlayerController)
Widget.HasUserFocusedDescendants(PlayerController)
Widget.InvalidateLayoutAndVolatility()
Widget.IsHovered()
Widget.IsVisible()
Widget.RemoveFromParent()
Widget.ResetCursor()
Widget.SetAllNavigationRules(EUINavigationRule, Name)
Widget.SetClipping(EWidgetClipping)
Widget.SetCursor(Byte)
Widget.SetIsEnabled(Boolean)
Widget.SetKeyboardFocus()
Widget.SetNavigationRule(EUINavigation, EUINavigationRule, Name)
Widget.SetRenderAngle(Single)
Widget.SetRenderOpacity(Single)
Widget.SetRenderScale(Vector2D)
Widget.SetRenderShear(Vector2D)
Widget.SetRenderTransform(WidgetTransform)
Widget.SetRenderTransformPivot(Vector2D)
Widget.SetRenderTranslation(Vector2D)
Widget.SetToolTip(Widget)
Widget.SetToolTipText(Byte)
Widget.SetUserFocus(PlayerController)
Widget.SetVisibility(ESlateVisibility)
Widget.Slot
Widget.ToolTipWidget
Widget.RenderTransform
Widget.RenderTransformPivot
Widget.bIsVariable
Widget.bCreatedByConstructionScript
Widget.bIsEnabled
Widget.bOverride_Cursor
Widget.bIsVolatile
Widget.bHiddenInDesigner
Widget.bExpandedInDesigner
Widget.bLockedInDesigner
Widget.Cursor
Widget.RenderOpacity
Widget.Navigation
Widget.NativeBindings
Widget.DesignerFlags
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.UMG
Assembly: UE4DotNet.dll
Syntax
public class ComboBoxString : Widget

Properties

| Improve this Doc View Source

bIsFocusable

Declaration
public bool bIsFocusable { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ContentPadding

Content Padding

Declaration
public Margin ContentPadding { get; }
Property Value
Type Description
Margin
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static ComboBoxString DefaultObject { get; }
Property Value
Type Description
ComboBoxString
| Improve this Doc View Source

EnableGamepadNavigationMode

Declaration
public bool EnableGamepadNavigationMode { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Font

The default font to use in the combobox, only applies if you're not implementing OnGenerateWidgetEvent to factory each new entry.

Declaration
public SlateFontInfo Font { get; }
Property Value
Type Description
SlateFontInfo
| Improve this Doc View Source

ForegroundColor

The foreground color to pass through the hierarchy.

Declaration
public SlateColor ForegroundColor { get; }
Property Value
Type Description
SlateColor
| Improve this Doc View Source

HasDownArrow

Declaration
public bool HasDownArrow { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ItemStyle

The item row style.

Declaration
public TableRowStyle ItemStyle { get; set; }
Property Value
Type Description
TableRowStyle
| Improve this Doc View Source

MaxListHeight

The max height of the combobox list that opens

Declaration
public float MaxListHeight { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class
| Improve this Doc View Source

WidgetStyle

The style.

Declaration
public ComboBoxStyle WidgetStyle { get; set; }
Property Value
Type Description
ComboBoxStyle

Methods

| Improve this Doc View Source

AddOption(String)

Add Option

Declaration
public void AddOption(string Option)
Parameters
Type Name Description
System.String Option
| Improve this Doc View Source

ClearOptions()

Clear Options

Declaration
public void ClearOptions()
| Improve this Doc View Source

ClearSelection()

Clear Selection

Declaration
public void ClearSelection()
| Improve this Doc View Source

FindOptionIndex(String)

Find Option Index

Declaration
public int FindOptionIndex(string Option)
Parameters
Type Name Description
System.String Option
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetOptionAtIndex(Int32)

Get Option at Index

Declaration
public string GetOptionAtIndex(int Index)
Parameters
Type Name Description
System.Int32 Index
Returns
Type Description
System.String
| Improve this Doc View Source

GetOptionCount()

@return The number of options

Declaration
public int GetOptionCount()
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetSelectedOption()

Get Selected Option

Declaration
public string GetSelectedOption()
Returns
Type Description
System.String
| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static ComboBoxString New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
ComboBoxString
| Improve this Doc View Source

RefreshOptions()

Refreshes the list of options.

Declaration
public void RefreshOptions()
Remarks

If you added new ones, and want to update the list even if it's currently being displayed use this.

| Improve this Doc View Source

RemoveOption(String)

Remove Option

Declaration
public bool RemoveOption(string Option)
Parameters
Type Name Description
System.String Option
Returns
Type Description
System.Boolean
| Improve this Doc View Source

SetSelectedOption(String)

Set Selected Option

Declaration
public void SetSelectedOption(string Option)
Parameters
Type Name Description
System.String Option

Operators

| Improve this Doc View Source

Implicit(IntPtr to ComboBoxString)

Convert from IntPtr to UObject

Declaration
public static implicit operator ComboBoxString(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
ComboBoxString
  • Improve this Doc
  • View Source
Back to top Generated by DocFX