Class Style
Represents the style of a report item.
Inheritance
Namespace: Telerik.Reporting.Drawing
Assembly: Telerik.Reporting.dll
Syntax
public class Style : IStyle
Properties
BackgroundColor
Gets or sets the background color of the report item.
Declaration
public Color BackgroundColor { get; set; }
Property Value
System.Drawing.Color
A System.Drawing.Color that represents the background color of the report item. The default is System.Drawing.Color.Empty, which indicates that this property is not set. |
Remarks
Use the BackgroundColor property to specify the background color of the report item. This property is set using a System.Drawing.Color object.
BackgroundImage
Gets a BackgroundImage object that controls the image displayed in the background of the report item.
Declaration
public BackgroundImage BackgroundImage { get; }
Property Value
BackgroundImage
An BackgroundImage that represents the image to display in the background of the report item. Report items have no background image by default. |
BorderColor
Gets a BorderColor object used to define the border color of a report item.
Declaration
public BorderColor BorderColor { get; }
Property Value
BorderColor
A BorderColor representing the border color of the report item. |
Remarks
BorderStyle
Gets a BorderStyle object used to define the border style of a report item.
Declaration
public BorderStyle BorderStyle { get; }
Property Value
BorderStyle
A BorderStyle representing the border style of the report item. |
Remarks
BorderWidth
Gets a BorderWidth object used to define the border width of a report item.
Declaration
public BorderWidth BorderWidth { get; }
Property Value
BorderWidth
A BorderWidth representing the border width of the report item. |
Remarks
Color
Gets or sets the foreground color of the report item.
Declaration
public Color Color { get; set; }
Property Value
System.Drawing.Color
The foreground System.Drawing.Color of the report item. The default is System.Drawing.Color.Black. |
Font
Gets a Font object representing the font of the report item.
Declaration
public Font Font { get; }
Property Value
Font
A Font object used to define the font of a report item. By default the font of a report item is Arial-Regular, 10pts. |
LineColor
Gets or sets the System.Drawing.Color (stroke) representing the line color of report items that support it, such as lines and shapes.
Declaration
public Color LineColor { get; set; }
Property Value
System.Drawing.Color
A System.Drawing.Color value representing the line color of the report item. By default its value is Black. |
LineStyle
Gets or sets a LineStyle object used to define the line style of report items that support it, such as lines and shapes.
Declaration
public LineStyle LineStyle { get; set; }
Property Value
LineStyle
A LineStyle object representing the line style of the report item. By default the line style is LineStyle.Solid. |
LineWidth
Gets or sets a Unit representing the line width of report items that support it, such as lines and shapes.
Declaration
public Unit LineWidth { get; set; }
Property Value
Unit
A Unit value representing the line width of the report item. By default the width is 1pt. |
Padding
Gets a Padding object used to define the padding of a report item.
Declaration
public Padding Padding { get; }
Property Value
Padding
A Padding object representing the padding of the report item. |
Remarks
TextAlign
Gets or sets the horizontal alignment of text in the report item.
Declaration
public HorizontalAlign TextAlign { get; set; }
Property Value
HorizontalAlign
One of the HorizontalAlign values. The default is HorizontalAlign.Left. |
VerticalAlign
Gets or sets the vertical alignment of text in the report item.
Declaration
public VerticalAlign VerticalAlign { get; set; }
Property Value
VerticalAlign
One of the VerticalAlign values. The default is VerticalAlign.Top. |
Visible
Gets or sets a value indicating whether the report item is displayed.
Declaration
public bool Visible { get; set; }
Property Value
System.Boolean
true if the report item is displayed; otherwise, false. The default is true. |
Methods
ToString()
Declaration
public override string ToString()
Returns
System.String
|