s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Components
PanelComponent
chevron_left Components
class
PanelComponent

Constructors

lockPanelComponent

Properties

data_objectPanel

Methods

functionsAddClassfunctionsBindClasslockBuildHashlockBuildRenderTreelockGetRenderTreeChecksumfunctionsHasClasslockOnParentChangedlockOnStartlockOnTreeBuiltlockOnTreeFirstBuiltfunctionsRemoveClassfunctionsSetClassfunctionsStateHasChanged
PanelComponent
class Sandbox .account_tree extends Component
abstractSandbox.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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter