API ReferenceSandbox.Internal
IPanelclass
object→IPanel
Methods6
Showing 6 methods
public virtual void Delete(bool immediate)
| Parameter | Type | Description |
|---|---|---|
| immediate | bool | — |
Returns:
void—public virtual Sandbox.Internal.IPanel GetPanelAt(Vector2 point, bool visibleOnly, bool needPointerEvents = False)
| Parameter | Type | Description |
|---|---|---|
| point | Vector2 | — |
| visibleOnly | bool | — |
| needPointerEvents = False | bool | — |
public virtual bool IsAncestor(Sandbox.Internal.IPanel panel)
| Parameter | Type | Description |
|---|---|---|
| panel | IPanel | — |
Returns:
bool—No results match this filter.
Properties21
Showing 21 properties
public virtual System.Collections.Generic.IEnumerable`1<Sandbox.UI.IStyleBlock> Sandbox.Internal.IPanel.ActiveStyleBlocks { get; set; }
Get all style blocks active on this panel
public virtual Sandbox.UI.PanelInputType Sandbox.Internal.IPanel.ButtonInput { get; set; }
public virtual System.Collections.Generic.IEnumerable`1<Sandbox.Internal.IPanel> Sandbox.Internal.IPanel.Children { get; set; }
public virtual int Sandbox.Internal.IPanel.ChildrenCount { get; set; }
Returns:
int—public virtual string Sandbox.Internal.IPanel.Classes { get; set; }
Returns:
string—public virtual string Sandbox.Internal.IPanel.ElementName { get; set; }
Returns:
string—public virtual bool Sandbox.Internal.IPanel.HasTooltip { get; set; }
Returns:
bool—public virtual string Sandbox.Internal.IPanel.Id { get; set; }
The Id of the element ( id="foo" )
Returns:
string—public virtual bool Sandbox.Internal.IPanel.IsGame { get; set; }
Returns:
bool—public virtual bool Sandbox.Internal.IPanel.IsMainMenu { get; set; }
Returns:
bool—public virtual bool Sandbox.Internal.IPanel.IsVisible { get; set; }
Returns:
bool—public virtual bool Sandbox.Internal.IPanel.IsVisibleSelf { get; set; }
Returns:
bool—public virtual Sandbox.UI.PseudoClass Sandbox.Internal.IPanel.PseudoClass { get; set; }
Procedural classes such as :hover and :active
public virtual string Sandbox.Internal.IPanel.SourceFile { get; set; }
If the panel created by razor, this is the file in which it was defined
Returns:
string—public virtual int Sandbox.Internal.IPanel.SourceLine { get; set; }
If the panel was created by razor, this is the line in which it was defined
Returns:
int—public virtual bool Sandbox.Internal.IPanel.WantsPointerEvents { get; set; }
If true then this panel (or its ancestor) has pointer-events: all
Returns:
bool—No results match this filter.