Class CheckBox
The checkbox widget allows you to display a toggled state of 'unchecked', 'checked' and 'indeterminable.
Inherited Members
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 SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static CheckBox DefaultObject { get; }
Property Value
Type | Description |
---|---|
CheckBox |
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 |
IsFocusable
Declaration
public bool IsFocusable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
WidgetStyle
The checkbox bar style
Declaration
public CheckBoxStyle WidgetStyle { get; set; }
Property Value
Type | Description |
---|---|
CheckBoxStyle |
Methods
| Improve this Doc View SourceGetCheckedState()
@return the full current checked state.
Declaration
public ECheckBoxState GetCheckedState()
Returns
Type | Description |
---|---|
ECheckBoxState |
IsChecked()
Returns true if the checkbox is currently checked
Declaration
public bool IsChecked()
Returns
Type | Description |
---|---|
System.Boolean |
IsPressed()
Returns true if this button is currently pressed
Declaration
public bool IsPressed()
Returns
Type | Description |
---|---|
System.Boolean |
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 |
SetCheckedState(ECheckBoxState)
Sets the checked state.
Declaration
public void SetCheckedState(ECheckBoxState InCheckedState)
Parameters
Type | Name | Description |
---|---|---|
ECheckBoxState | InCheckedState |
SetIsChecked(Boolean)
Sets the checked state.
Declaration
public void SetIsChecked(bool InIsChecked)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | InIsChecked |
Operators
| Improve this Doc View SourceImplicit(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 |