Table of Contents

Enum DecorationLayer

Namespace
BSGameLib.UI.Controls
Assembly
BSGameLib.UI.dll

Whether a Decoration is painted under the control tree or over it.

public enum DecorationLayer

Fields

Background = 0

Under every control. The default, because that is what a decoration almost always is - an atmospheric wash, a framing rule, a corner flourish - and a mark drawn over the tree sits over whatever happens to be under it, including text and inputs.

Foreground = 1

Over every control, drawn in the same pass as an open dropdown or a tooltip. For a mark that is genuinely meant to overlay the UI - a watermark, a build stamp.