s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
IStyleBlock
chevron_left
API Reference
interface
IStyleBlock
Properties
data_object
AbsolutePath
data_object
FileLine
data_object
FileName
data_object
SelectorStrings
Methods
functions
GetRawValues
functions
SetRawValue
IStyleBlock
A CSS rule - ie ".chin { width: 100%; height: 100%; }"
interface
Sandbox.UI
.
abstract
Sandbox.System
data_object
Properties
4
AbsolutePath
string
The absolute on disk filename for this style block (or null if not on disk)
FileLine
int
The line in the file containing this style block
FileName
string
The filename of the file containing this style block (or null if none)
SelectorStrings
IEnumerable`1
A list of selectors
functions
Methods
2
GetRawValues
(
)
List`1
Get the list of raw style values
SetRawValue
(
key
,
value
,
originalValue
)
bool
Update a raw style value
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.