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
Properties
Selectors
Gets a Selector
Declaration
public SelectorCollection Selectors { get; set; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.
|
Returns
System.
|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.
|
Overrides
Match(ReportItemBase)
Matches a report item based on the descendance pattern defined by the Selectors
Declaration
public bool Match(ReportItemBase item)
Parameters
Report The Report |
Returns
System. true if the item matches the descendance pattern. |
Implements
ToString()
This member overrides System.
Declaration
public override string ToString()
Returns
System. A string value describing the selector. |