Class DescendantSelector
Represents a selector that matches an item that is a descendant of another item.
Inheritance
Namespace: Telerik.Reporting.Drawing
Assembly: Telerik.Reporting.dll
Syntax
public class DescendantSelector : ISelector
Remarks
At times, authors may want selectors to match an item that is the descendant of another item in the report item tree (e.g., "Match those TextBox elements that are contained by a Panel element"). Descendant selectors express such a relationship in a pattern.
Constructors
DescendantSelector()
Initializes a new instance of the DescendantSelector.
Declaration
public DescendantSelector()
DescendantSelector(ISelector[])
Initializes a new instance of the DescendantSelector class with the specified selectors.
Declaration
public DescendantSelector(ISelector[] selectors)
Parameters
ISelector[]
selectors
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
public SelectorCollection Selectors { get; set; }
Property Value
SelectorCollection
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
Match(ReportItemBase)
Matches a report item based on the descendance pattern defined by the Selectors
Declaration
public bool Match(ReportItemBase item)
Parameters
ReportItemBase
item
The ReportItemBase to match. |
Returns
System.Boolean
true if the item matches the descendance pattern. |
Implements
ToString()
This member overrides System.Object.ToString()
Declaration
public override string ToString()
Returns
System.String
A string value describing the selector. |