Skip to content

MarkupThickness Object

Description

Describes the thickness of a frame around a rectangle. Four values describe the Left, Top, Right, and Bottom sides of the rectangle, respectively.

For a list of all members defined in this module, see MarkupThickness Members.

Example

VB Code Thickness Sample

Set myBorder = Context.CreateObject("Border")  
myBorder.BorderBrush = Context.CreateSolidBrush(vbYellow)  
myBorder.Width = 400  
myBorder.Height = 400  

Set myThickness = Context.CreateObject("Thickness")  
myThickness.Bottom = 5  
myThickness.Left = 10  
myThickness.Right = 15  
myThickness.Top = 20  

myBorder.BorderThickness = myThickness

XAML Thickness Sample

10,20,15,5

See Also

MarkupThickness Members


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.