GH_PanelProperties

References
Aggregates all properties of a Text Panel object.

Constructors

GH_PanelProperties

#
public GH_PanelProperties()

GH_PanelProperties

#
public GH_PanelProperties(
GH_PanelProperties
other
)

Properties

Alignment

#
Gets or sets the String alignment for loose items in the Text Panel.
public GH_Panel.Alignment Alignment { get; set; }

Colour

#
Gets or sets the current background colour.
public Color Colour { get; set; }

DrawIndices

#
Gets or sets whether item indices are included in the panel.
public bool DrawIndices { get; set; }

DrawPaths

#
Gets or sets a value indicating whether or not Branch Paths should be included in the display.
public bool DrawPaths { get; set; }

Font

#
Gets or sets the font for this panel.
public Font Font { get; set; }

InferredBackColour

#
Gets the current inferred background colour.
public Color InferredBackColour { get; }

InferredBackColourSelected

#
Gets the current inferred selected background colour.
public Color InferredBackColourSelected { get; }

InferredForeColour

#
Gets the current inferred foreground colour.
public Color InferredForeColour { get; }

InferredForeColourSelected

#
Gets the current inferred selected foreground colour.
public Color InferredForeColourSelected { get; }

Multiline

#
Gets the sets the usertext multiline parsing option. If false, every new line in the panel results in a new string item in the volatile data.
public bool Multiline { get; set; }

SpecialCodes

#
Gets or sets whether special codes are replaced in the panel volatile data.
public bool SpecialCodes { get; set; }

StreamContents

#
Gets or sets whether the panel streams the contents to a file.
public bool StreamContents { get; set; }

StreamPath

#
Gets or sets the filepath for content streaming.
public string StreamPath { get; set; }

Wrap

#
Gets or sets whether items are wrapped or trimmed.
public bool Wrap { get; set; }

Methods

DecreaseFont

#
Decrease the font one level.
public bool DecreaseFont()
True if font was decreased, false if not.

IncreaseFont

#
Increase the font one level.
public bool IncreaseFont()
True if font was increased, false if not.

Read

#
public bool Read(
reader
)
Read

ResetToDefault

#
public void ResetToDefault()

Write

#
public bool Write(
writer
)
Write