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

Constructors

functionsPanelEvent

Properties

data_objectButtondata_objectNamedata_objectTargetdata_objectThisdata_objectTimedata_objectValue

Methods

functionsIsfunctionsStopPropagation
PanelEvent
Base Sandbox.UI.Panel event.<br /> See Sandbox.UI.Panel.CreateEvent(Sandbox.UI.PanelEvent).
class Sandbox.UI .
Sandbox.Engine

build Constructors 1

PanelEvent (eventName, active)

data_object Properties 6

Button
string
Name
string
Target
Panel
This
Panel
The panel on which the event is being called. For example, if you have a button with a label.. when the button gets clicked the actual click event might come from the label. When the event is called on the label, This will be the label. When the event propagates up to the button This will be the button - but Target will be the label. This is mainly of use with Razor callbacks, where you want to get the actual panel that created the event.
Time
float
Value
object

functions Methods 2

Is (name)
bool
StopPropagation ()

Inheritance

PanelEvent
CopyEvent
CutEvent
DragEvent
EscapeEvent
MousePanelEvent
PasteEvent
SelectionEvent
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