Table of Contents

Method SetVisibleBorders

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetVisibleBorders(bool, bool, bool, bool, double?)

Sets visible borders. Changes border side widths depending on the paramer values.

public virtual void SetVisibleBorders(bool left, bool top = false, bool right = false, bool bottom = false, double? width = null)

Parameters

left bool

Whether left border side is visible.

top bool

Whether top border side is visible.

right bool

Whether right border side is visible.

bottom bool

Whether bottom border side is visible.

width double?

The width assigned to the border side when side is visible. If Null, value from DefaultBorderWidth is used.