interface IPanel

in global :: Sandbox . Internal

😔 No documentation found.


public string Id { get; }

The Id of the element ( id="foo" )

public string SourceFile { get; }

If the panel created by razor, this is the file in which it was defined

public int SourceLine { get; }

If the panel was created by razor, this is the line in which it was defined

public bool WantsPointerEvents { get; }

If true then this panel (or its ancestor) has pointer-events: all

public void SetAbsolutePosition( 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 PseudoClass PseudoClass { get; set; }

Procedural classes such as :hover and :active

public IEnumerable<IStyleBlock> ActiveStyleBlocks { get; }

Get all style blocks active on this panel

public void Delete( bool immediate )

😔 No documentation found.

public void UpdateTooltip( IPanel tooltipPanel )

😔 No documentation found.

public IPanel CreateTooltip( )

😔 No documentation found.

public bool HasTooltip { get; }

😔 No documentation found.

public bool IsAncestor( IPanel panel )

😔 No documentation found.

public IPanel GetPanelAt( Vector2 point, bool visibleOnly, bool needPointerEvents = False )

😔 No documentation found.

public Nullable<Matrix> GlobalMatrix { get; }

😔 No documentation found.

public Rect OuterRect { get; }

😔 No documentation found.

public Rect Rect { get; }

😔 No documentation found.

public PanelInputType ButtonInput { get; set; }

😔 No documentation found.

public string Classes { get; }

😔 No documentation found.

public bool IsVisibleSelf { get; }

😔 No documentation found.

public bool IsVisible { get; }

😔 No documentation found.

public bool IsGame { get; }

😔 No documentation found.

public bool IsMainMenu { get; }

😔 No documentation found.

public string ElementName { get; }

😔 No documentation found.

public int ChildrenCount { get; }

😔 No documentation found.

public IEnumerable<IPanel> Children { get; }

😔 No documentation found.

public Rect InnerRect { get; }

😔 No documentation found.

public IPanel Parent { get; }

😔 No documentation found.