New to Telerik ReportingStart a free 30-day trial

Represents a style rule to be applied.

Definition

Namespace:Telerik.Reporting.Drawing

Assembly:Telerik.Reporting.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class StyleRule : ReportObject

Inheritance: objectReportObjectStyleRule

Inherited Members ReportObject.ToString(string[])

Constructors

Initializes a new empty StyleRule.

C#
public StyleRule()

Properties

A collection of selectors that determine which report items the style applies to.

C#
public SelectorCollection Selectors { get; }
Property Value:

A SelectorCollection object containing all of the selectors for this rule.

The Style to apply to all report items selected by the Selectors

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style Style { get; }
Property Value:

A Style object defining the style of this StyleRule

Methods

Internal use only

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: object.Equals(object)

TODO: Add documentation.

C#
public override int GetHashCode()
Returns:

int

Overrides: object.GetHashCode()

Returns a human-readable representation ot this StyleRule.

C#
public override string ToString()
Returns:

string

A human-readable representation ot this StyleRule.

Overrides: object.ToString()