Specifies the borders displayed around a brick.
[Flags] [ResourceFinder(typeof(ResFinder))] public enum BorderSide
<Flags> <ResourceFinder(GetType(ResFinder))> Public Enum BorderSide
No borders are applied to a brick.
Applies the left border to a brick.
Applies the top border to a brick.
Applies the right border to a brick.
Applies the bottom border to a brick.
Applies all borders to a brick.
Use the BorderSide enumeration to draw borders around brick sides (any combination is possible). Side width is determined via the VisualBrick.BorderWidth property and its color is specified via the VisualBrick.BorderColor property.
The following example demonstrates how to make the brick's left and right borders visible. To do this it's necesssary to set the BrickStyle.Sides property of the brick's style to BorderSide.Left and BorderSide.Right.
using DevExpress.XtraPrinting; // ... myBrickStyle.Sides = BorderSide.Left | BorderSide.Right;