Back to Devexpress

BrickStyle.Sides Property

corelibraries-devexpress-dot-xtraprinting-dot-brickstyle-fc6dc605.md

latest2.3 KB
Original Source

BrickStyle.Sides Property

Gets or sets a value defining which borders of the current brick are visible.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public virtual BorderSide Sides { get; set; }
vb
Public Overridable Property Sides As BorderSide

Property Value

TypeDescription
BorderSide

A BorderSide enumerator value, defining visible brick borders.

|

Available values:

NameDescription
None

No borders are applied to a brick.

| | Left |

Applies the left border to a brick.

| | Top |

Applies the top border to a brick.

| | Right |

Applies the right border to a brick.

| | Bottom |

Applies the bottom border to a brick.

| | All |

Applies all borders to a brick.

|

Remarks

If this property value is BorderSide.None, brick borders are invisible.

Example

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.

csharp
using DevExpress.XtraPrinting;
// ...

myBrickStyle.Sides = BorderSide.Left | BorderSide.Right;
vb
Imports DevExpress.XtraPrinting
' ...

MyBrickStyle.Sides = BorderSide.Left Or BorderSide.Right

See Also

BorderColor

BorderWidth

BrickStyle Class

BrickStyle Members

DevExpress.XtraPrinting Namespace