API ReferenceSandbox.UI

PanelStyleclass

objectStylesPanelStyle
Namespace
Sandbox.UI
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.UI.PanelStyle : Sandbox.UI.Styles

Methods6

Showing 6 methods

public virtual void Dirty()PUBLICVIRTUAL

Returns:void

public virtual bool Set(string property, string value)PUBLICVIRTUAL

ParameterTypeDescription
propertystring
valuestring
Returns:bool

public System.Threading.Tasks.Task SetBackgroundImageAsync(string image)PUBLIC

ParameterTypeDescription
imagestring
Returns:Task

public void SetRect(Sandbox.Rect rect)PUBLIC

ParameterTypeDescription
rectRect
Returns:void

Properties2

Showing 2 properties

public bool Sandbox.UI.PanelStyle.HasAfterElement { get; set; }PUBLICGETSET

This style has a ::after element available. This is signalling to the panel system that if we apply this style, we should also create a ::after element.

Returns:bool

public bool Sandbox.UI.PanelStyle.HasBeforeElement { get; set; }PUBLICGETSET

This style has a ::before element available. This is signalling to the panel system that if we apply this style, we should also create a ::before element.

Returns:bool

On this page