Class
Line

Represents a line.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class Line

Inheritance: objectLine

Constructors

Line(DoubleCollection, double, CellBorderStyle)

Initializes a new instance of the Line class.

Declaration

cs-api-definition
public Line(DoubleCollection strokeDashArray, double thickness, CellBorderStyle borderStyle)

Parameters

strokeDashArray

DoubleCollection

The stroke dash array.

thickness

double

The thickness.

borderStyle

CellBorderStyle

The border style.

Properties

BorderStyle

Gets the border style.

Declaration

cs-api-definition
public CellBorderStyle BorderStyle { get; }

Property Value

CellBorderStyle

The border style.

LineVisibility

Gets the line visibility.

Declaration

cs-api-definition
public Visibility LineVisibility { get; }

Property Value

Visibility

The line visibility.

StrokeDashArray

Gets the stroke dash array.

Declaration

cs-api-definition
public DoubleCollection StrokeDashArray { get; }

Property Value

DoubleCollection

The stroke dash array.

TextBlockVisibility

Gets the text block visibility.

Declaration

cs-api-definition
public Visibility TextBlockVisibility { get; }

Property Value

Visibility

The text block visibility.

Thickness

Gets the thickness of the line.

Declaration

cs-api-definition
public double Thickness { get; }

Property Value

double

The thickness of the line.

X1

Gets the x-coordinate of the Line start point.

Declaration

cs-api-definition
public double X1 { get; }

Property Value

double

The x-coordinate for the start point of the line.

X2

Gets the x-coordinate of the Line end point.

Declaration

cs-api-definition
public double X2 { get; }

Property Value

double

The x-coordinate for the end point of the line.

Y1

Gets the y-coordinate of the Line start point.

Declaration

cs-api-definition
public double Y1 { get; }

Property Value

double

The y-coordinate for the start point of the line.

Y2

Gets the y-coordinate of the Line end point.

Declaration

cs-api-definition
public double Y2 { get; }

Property Value

double

The y-coordinate for the end point of the line.