API ReferenceSandbox.Internal
public abstract interface Sandbox.Internal.IPanel
Methods
Showing 6 methods
public virtual Sandbox.Internal.IPanel CreateTooltip()
public virtual void Delete(bool immediate)
public virtual Sandbox.Internal.IPanel GetPanelAt(Vector2 point, bool visibleOnly, bool needPointerEvents = False)
Parameters
needPointerEvents: Default: False
public virtual bool IsAncestor(Sandbox.Internal.IPanel panel)
public virtual void SetAbsolutePosition(Sandbox.TextFlag alignment, Vector2 position, float offset)
Set the panel's absolute position. This wouldn't be needed if we could expose the styles. Which we should do.
public virtual void UpdateTooltip(Sandbox.Internal.IPanel tooltipPanel)
No results match this filter.
Properties
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; }
public virtual string Sandbox.Internal.IPanel.Classes { get; set; }
public virtual string Sandbox.Internal.IPanel.ElementName { get; set; }
public virtual bool Sandbox.Internal.IPanel.HasTooltip { get; set; }
public virtual string Sandbox.Internal.IPanel.Id { get; set; }
The Id of the element ( id="foo" )
public virtual bool Sandbox.Internal.IPanel.IsGame { get; set; }
public virtual bool Sandbox.Internal.IPanel.IsMainMenu { get; set; }
public virtual bool Sandbox.Internal.IPanel.IsVisible { get; set; }
public virtual bool Sandbox.Internal.IPanel.IsVisibleSelf { get; set; }
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
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
public virtual bool Sandbox.Internal.IPanel.WantsPointerEvents { get; set; }
If true then this panel (or its ancestor) has pointer-events: all
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Internal |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Internal.IPanel |