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
Components
PanelComponent
chevron_left
Components
class
PanelComponent
Constructors
lock
PanelComponent
Properties
data_object
Panel
Methods
functions
AddClass
functions
BindClass
lock
BuildHash
lock
BuildRenderTree
lock
GetRenderTreeChecksum
functions
HasClass
lock
OnParentChanged
lock
OnStart
lock
OnTreeBuilt
lock
OnTreeFirstBuilt
functions
RemoveClass
functions
SetClass
functions
StateHasChanged
PanelComponent
class
Sandbox
.
account_tree
extends
Component
abstract
Sandbox.Engine
build
Constructors
1
PanelComponent
(
)
data_object
Properties
1
Panel
Panel
The panel. Can be null if the panel doesn't exist yet.
functions
Methods
13
AddClass
(
className
)
BindClass
(
className
,
func
)
BuildHash
(
)
int
When this has changes, we will re-render this panel. This is usually implemented as a HashCode.Combine containing stuff that causes the panel's content to change.
BuildRenderTree
(
v
)
Gets overridden by .razor file
GetRenderTreeChecksum
(
)
string
Gets overridden by .razor file
HasClass
(
className
)
bool
OnParentChanged
(
oldParent
,
newParent
)
OnStart
(
)
OnTreeBuilt
(
)
Called after the tree has been built. This can happen any time the contents change.
OnTreeFirstBuilt
(
)
Called when the razor ui has been built.
RemoveClass
(
className
)
SetClass
(
className
,
enabled
)
StateHasChanged
(
)
Should be called when you want the component to be re-rendered.
Inheritance
Component
PanelComponent
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.