New to Telerik UI for WPFStart a free 30-day trial

RadLine

Class

Provides methods and properties for using RadLine.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class RadLine : ContentControl

Inheritance: objectRadLine

Constructors

Initializes a new instance of the RadLine class.

C#
public RadLine()

Properties

CellBorderStyle

CellBorderStyle

Gets or sets the cell border style.

C#
public CellBorderStyle CellBorderStyle { get; set; }
Property Value:

The cell border style of RadLine.

Stroke

Color

Gets or sets the stroke of the line.

C#
public Color Stroke { get; set; }
Property Value:

The stroke of the line.

Gets or sets the stroke thickness.

C#
public double StrokeThickness { get; set; }
Property Value:

The stroke thickness of RadLine.

Visibility

Visibility

Gets or sets the visibility.

C#
public Visibility Visibility { get; set; }
Property Value:

The visibility of RadLine.

Gets or sets the X coordinate of the first point.

C#
public double X1 { get; set; }
Property Value:

X coordinate of the first point.

Gets or sets the X coordinate of the second point.

C#
public double X2 { get; set; }
Property Value:

X coordinate of the second point.

Gets or sets the Y coordinate of the first point.

C#
public double Y1 { get; set; }
Property Value:

Y coordinate of the first point.

Gets or sets the Y coordinate of the second point.

C#
public double Y2 { get; set; }
Property Value:

Y coordinate of the second point.

Gets or sets the Z index.

C#
public int ZIndex { get; set; }
Property Value:

The Z index of RadLine.