Api Sandbox UI PanelStyle
class

PanelStyle

public sealed class PanelStyle : Styles

Properties

Name Type Description
HasBeforeElement Boolean 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.
HasAfterElement Boolean 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.

Methods

virtual Void Dirty()
virtual Boolean Set(String property, String value)
Void SetBackgroundImage(Texture texture)
Void SetBackgroundImage(String image)
Task SetBackgroundImageAsync(String image)
Void SetRect(Rect rect)
Assembly: Sandbox.Engine Namespace: Sandbox.UI Full Name: Sandbox.UI.PanelStyle