Skip to content

API reference Obsidian.API.Client.Razor

Panel class

A box holding parts, its child content: placed by their positions, or stacked in a column or a row.

public sealed class Panel : ScreenPart

In Obsidian.API.Client.

Constructors

public Panel();

Properties

Align

public PanelAlign Align { get; set; }

Where stacked parts are placed across the stack.

public RenderFragment ChildContent { get; set; }

Clip

public bool Clip { get; set; }

Whether to cut off what the parts draw outside the panel, like a scrolling list's.

Color

public uint? Color { get; set; }

An ARGB color to fill the panel with; null for none.

Flow

public PanelFlow Flow { get; set; }

How the panel places its parts.

Gap

public int Gap { get; set; }

The space between stacked parts.

Padding

public int Padding { get; set; }

The space between the panel's edges and its parts.

On this page