s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
StyleSheet
chevron_left
Classes
class
StyleSheet
search
Constructors
functions
StyleSheet
Fields
crop_din
KeyFrames
crop_din
Mixins
crop_din
Variables
Properties
data_object
FileName
data_object
IncludedFiles
data_object
Nodes
Methods
functions
AddKeyFrames
functions
GetMixin
functions
GetVariable
functions
Release
functions
ReplaceVariables
functions
SetMixin
functions
TryGetMixin
Static Properties
data_object
Loaded
Static Methods
functions
FromFile
functions
FromString
StyleSheet
class
Sandbox.UI
.
Sandbox.Engine
build
Constructors
1
StyleSheet
(
)
crop_din
Fields
3
KeyFrames
Dictionary`2
Mixins
Dictionary`2
Variables
Dictionary`2
data_object
Properties
3
FileName
string
IncludedFiles
List`1
Nodes
List`1
functions
Methods
7
AddKeyFrames
(
frames
)
GetMixin
(
name
)
MixinDefinition
Get a mixin by name or null if not found.
GetVariable
(
name
,
defaultValue
)
string
Release
(
)
Releases the filesystem watcher so we won't get file changed events.
ReplaceVariables
(
str
)
string
SetMixin
(
mixin
)
Register a mixin definition.
TryGetMixin
(
name
,
mixin
)
bool
Try to get a mixin by name.
data_object
Static Properties
1
Loaded
List`1
functions
Static Methods
2
FromFile
(
filename
,
variables
,
failSilently
)
StyleSheet
FromString
(
styles
,
filename
,
variables
)
StyleSheet
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.