s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter