Show / Hide Table of Contents

Class CheckBox

The checkbox widget allows you to display a toggled state of 'unchecked', 'checked' and 'indeterminable.

Inheritance
System.Object
UObject
Visual
Widget
PanelWidget
ContentWidget
CheckBox
Inherited Members
ContentWidget.GetContent()
ContentWidget.GetContentSlot()
ContentWidget.SetContent(Widget)
PanelWidget.AddChild(Widget)
PanelWidget.ClearChildren()
PanelWidget.GetChildAt(Int32)
PanelWidget.GetChildIndex(Widget)
PanelWidget.GetChildrenCount()
PanelWidget.HasAnyChildren()
PanelWidget.HasChild(Widget)
PanelWidget.RemoveChild(Widget)
PanelWidget.RemoveChildAt(Int32)
PanelWidget.Slots
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 CheckBox : ContentWidget
Remarks

You can use the checkbox for a classic checkbox, or as a toggle button, or as radio buttons.

  • Single Child
  • Toggle

Properties

| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

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

HorizontalAlignment

How the content of the toggle button should align within the given space

Declaration
public byte HorizontalAlignment { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

IsFocusable

Declaration
public bool IsFocusable { get; }
Property Value
Type Description
System.Boolean
| 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 checkbox bar style

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

Methods

| Improve this Doc View Source

GetCheckedState()

@return the full current checked state.

Declaration
public ECheckBoxState GetCheckedState()
Returns
Type Description
ECheckBoxState
| Improve this Doc View Source

IsChecked()

Returns true if the checkbox is currently checked

Declaration
public bool IsChecked()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsPressed()

Returns true if this button is currently pressed

Declaration
public bool IsPressed()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

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

SetCheckedState(ECheckBoxState)

Sets the checked state.

Declaration
public void SetCheckedState(ECheckBoxState InCheckedState)
Parameters
Type Name Description
ECheckBoxState InCheckedState
| Improve this Doc View Source

SetIsChecked(Boolean)

Sets the checked state.

Declaration
public void SetIsChecked(bool InIsChecked)
Parameters
Type Name Description
System.Boolean InIsChecked

Operators

| Improve this Doc View Source

Implicit(IntPtr to CheckBox)

Convert from IntPtr to UObject

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