Class Panel
A screen component that contains other screen components.
Assembly: Assembly-CSharp.dll
Syntax
public class Panel : BaseScreenComponent, IDisposable
Constructors
|
Improve this Doc
View Source
Panel()
Declaration
Properties
|
Improve this Doc
View Source
Components
Declaration
public ScreenComponentCollection Components { get; }
Property Value
|
Improve this Doc
View Source
EnableBorder
Gets or sets flag to enable/disable border.
Must use SetBorderTextures() before enabling border.
Declaration
public bool EnableBorder { get; set; }
Property Value
|
Improve this Doc
View Source
HasFocusOutlineColor
Automatically change outline color when gaining focus.
Only works when UseFocus true.
Declaration
public Color HasFocusOutlineColor { get; set; }
Property Value
|
Improve this Doc
View Source
LostFocusOutlineColor
Automatically change outline color when losing focus.
Only works when UseFocus true.
Declaration
public Color LostFocusOutlineColor { get; set; }
Property Value
|
Improve this Doc
View Source
Outline
Declaration
public Outline Outline { get; }
Property Value
Methods
|
Improve this Doc
View Source
Draw()
Declaration
public override void Draw()
Overrides
|
Improve this Doc
View Source
GotFocus()
Declaration
public override void GotFocus()
Overrides
|
Improve this Doc
View Source
LostFocus()
Declaration
public override void LostFocus()
Overrides
|
Improve this Doc
View Source
ProcessHotkeySequences(HotkeySequence.KeyModifiers)
Declaration
public HotkeySequence.HotkeySequenceProcessStatus ProcessHotkeySequences(HotkeySequence.KeyModifiers keyModifiers)
Parameters
Returns
|
Improve this Doc
View Source
SetBorderTextures(Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, FilterMode, Nullable<Border<Vector2Int>>)
Sets border textures and enables border.
Declaration
public void SetBorderTextures(Texture2D topLeft, Texture2D top, Texture2D topRight, Texture2D left, Texture2D fill, Texture2D right, Texture2D bottomLeft, Texture2D bottom, Texture2D bottomRight, FilterMode filterMode, Border<Vector2Int>? virtualSizes = null)
Parameters
|
Improve this Doc
View Source
Update()
Declaration
public override void Update()
Overrides