PocketPlanner Programmer's Guide

Style.BorderWidth Property

See Also

Gets or sets the width in pixels of the outermost border of an element.

 Since version 4.0, this property is considered obsolete. Instead, use the BorderLeftWidth, BorderTopWidth, BorderRightWidth and BorderBottomWidth properties.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public int BorderWidth { get; set; }

Visual Basic

Public Property BorderWidth As Integer

 Property Value

A non-negative integer specifying the border width in pixels. Assign -1 to this property to use the corresponding value from the current theme.

 Remarks

To disable drawing the borders, set this property to 0. Alternatively, you can set both BorderColorLight and BorderColorDark to Color.Transparent.

 See Also