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
Classes
PanelRenderTreeBuilder
chevron_left Classes
class
PanelRenderTreeBuilder

Methods

functionsAddAttributefunctionsAddAttributeActionfunctionsAddAttributeObjectfunctionsAddAttributeStringfunctionsAddAttributeWithSetterfunctionsAddBindfunctionsAddContentfunctionsAddLocationfunctionsAddMarkupContentfunctionsAddReferenceCapturefunctionsAddStyleDefinitionsfunctionsCloseElementfunctionsOpenElementfunctionsSetRenderFragmentfunctionsSetRenderFragmentWithContext
PanelRenderTreeBuilder
This is a tree renderer for panels. If we ever use razor on other ui we'll want to make a copy of this class and do the specific things to that.
class Sandbox.UI .
Sandbox.Engine

functions Methods 15

AddAttribute (sequence, value)
AddAttributeAction (sequence, attrName, value)
Handles @onclick=@( () => DoSomething( "boobies" ) )
AddAttributeObject (sequence, attrName, value)
Handles "style" and "class" attributes..
AddAttributeString (sequence, attrName, value)
Handles "style" and "class" attributes..
AddAttributeWithSetter (sequence, value, setter)
AddBind (sequence, propertyName, get, set)
AddContent (sequence, content)
Handles text content within an element
AddLocation (filename, line, column)
Add the current source location. Used to record in which file the element was created.
AddMarkupContent (sequence, markupContent)
Add markup to the current element
AddReferenceCapture (sequence, current, value)
AddStyleDefinitions (sequence, styles)
Styles from a style block
CloseElement ()
Finish working on this element
OpenElement (sequence, elementName)
SetRenderFragment (setter, builder)
SetRenderFragmentWithContext (getter, setter, builder)
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