DescendantSelector
Represents a selector that matches an item that is a descendant of another item.
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.
Definition
Namespace:Telerik.Reporting.Drawing
Assembly:Telerik.Reporting.dll
Syntax:
public class DescendantSelector : ISelector
Inheritance: objectDescendantSelector
Implements:
Constructors
Initializes a new instance of the DescendantSelector.
public DescendantSelector()
Properties
Gets a SelectorCollection containing the selectors that define the descendance pattern used to match the item.
public SelectorCollection Selectors { get; set; }
Methods
Internal use only
public override bool Equals(object obj)
bool
Overrides:
TODO: Add documentation.
public override int GetHashCode()
int
Overrides:
Matches a report item based on the descendance pattern defined by the Selectors
public bool Match(ReportItemBase item)
The ReportItemBase to match.
Returns:bool
true if the item matches the descendance pattern.
Implements:
This member overrides ToString()
public override string ToString()
string
A string value describing the selector.
Overrides: