Class PanelType
Contains strings to be used in the Panel(string) contructor.
Namespace: Northwoods.Go
Assembly: Northwoods.GoDiagram.Avalonia.dll
Syntax
public static class PanelType
Fields
Auto
An Auto Panel, PanelLayoutAuto, used to size the main element to fit around other elements in the Panel -- this creates borders.
Declaration
public static readonly string Auto
Field Value
Type | Description |
---|---|
string |
Graduated
A Graduated Panel, PanelLayoutGraduated, used to draw regular tick marks and text along the main Shape element.
Declaration
public static readonly string Graduated
Field Value
Type | Description |
---|---|
string |
Grid
A Grid Panel, PanelLayoutGrid, not used to house typical elements, but is used only to draw regular patterns of lines. The elements must be Shapes used to describe the repeating lines.
Declaration
public static readonly string Grid
Field Value
Type | Description |
---|---|
string |
Horizontal
A Horizontal Panel, PanelLayoutHorizontal, used to create horizontal "stacks" of elements
Declaration
public static readonly string Horizontal
Field Value
Type | Description |
---|---|
string |
Link
A Link Panel, PanelLayoutLink, only used by Link parts and Link Adornments.
Declaration
public static readonly string Link
Field Value
Type | Description |
---|---|
string |
Position
A Position Panel, PanelLayoutPosition, used to arrange elements based on their absolute positions within the Panel's local coordinate system.
Declaration
public static readonly string Position
Field Value
Type | Description |
---|---|
string |
Spot
A Spot Panel, PanelLayoutSpot, used to arrange elements based on the Spot properties Alignment and AlignmentFocus, relative to a main element of the panel.
Declaration
public static readonly string Spot
Field Value
Type | Description |
---|---|
string |
Table
A Table Panel, PanelLayoutTable, used to arrange elements into rows and columns, typically employing the different elements' Row, RowSpan, Column, and ColumnSpan properties. This Panel type also makes use of RowDefinition/ColumnDefinition.
Declaration
public static readonly string Table
Field Value
Type | Description |
---|---|
string |
TableColumn
A TableColumn Panel, PanelLayoutTableColumn, only used immediately within a PanelLayoutTable Panel to organize a collection of elements as a column in a table.
Declaration
public static readonly string TableColumn
Field Value
Type | Description |
---|---|
string |
TableRow
A TableRow Panel, PanelLayoutTableRow, only used immediately within a PanelLayoutTable Panel to organize a collection of elements as a row in a table.
Declaration
public static readonly string TableRow
Field Value
Type | Description |
---|---|
string |
Vertical
A Vertical Panel, PanelLayoutVertical, used to create vertical "stacks" of elements.
Declaration
public static readonly string Vertical
Field Value
Type | Description |
---|---|
string |
Viewbox
A Viewbox Panel, PanelLayoutViewbox, used to automatically resize a single element to fit inside the panel's available area.
Declaration
public static readonly string Viewbox
Field Value
Type | Description |
---|---|
string |