Class
DescendantSelector

Represents a selector that matches an item that is a descendant of another item.

Definition

Namespace:Telerik.Reporting.Drawing

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class DescendantSelector : ISelector

Inheritance: objectDescendantSelector

Implements: ISelector

Constructors

DescendantSelector()

Initializes a new instance of the DescendantSelector.

Declaration

cs-api-definition
public DescendantSelector()

DescendantSelector(ISelector[])

Initializes a new instance of the DescendantSelector class with the specified selectors.

Declaration

cs-api-definition
public DescendantSelector(ISelector[] selectors)

Parameters

selectors

ISelector[]

A ISelector array containing the selectors that define the descendance pattern used to match the item.

Properties

Selectors

Gets a SelectorCollection containing the selectors that define the descendance pattern used to match the item.

Declaration

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

Property Value

SelectorCollection

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()

Match(ReportItemBase)

Matches a report item based on the descendance pattern defined by the Selectors

Declaration

cs-api-definition
public bool Match(ReportItemBase item)

Parameters

item

ReportItemBase

The ReportItemBase to match.

Returns

bool

true if the item matches the descendance pattern.

Implements ISelector.Match(ReportItemBase)

ToString()

This member overrides ToString()

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string value describing the selector.

Overrides object.ToString()