Class
StyleRule

Represents a style rule to be applied.

Definition

Namespace:Telerik.Reporting.Drawing

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public class StyleRule : ReportObject

Inheritance: objectReportObjectStyleRule

Inherited Members ReportObject.ToString(string[])

Constructors

StyleRule()

Initializes a new empty StyleRule.

Declaration

cs-api-definition
public StyleRule()

Properties

Selectors

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

Declaration

cs-api-definition
public SelectorCollection Selectors { get; }

Property Value

SelectorCollection

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

Style

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

Declaration

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style Style { get; }

Property Value

Style

A Style object defining the style of this StyleRule

Methods

Equals(object)

Internal use only

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Returns

bool

Overrides object.Equals(object)

GetHashCode()

TODO: Add documentation.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides object.GetHashCode()

ToString()

Returns a human-readable representation ot this StyleRule.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A human-readable representation ot this StyleRule.

Overrides object.ToString()