Provides the abstract base class for an attribute selector.
Definition
Namespace:Telerik.Reporting.Drawing
Assembly:Telerik.Reporting.dll
Syntax:
public abstract class AttributeSelectorBase : TypeSelector, ISelector
Inheritance: objectTypeSelectorAttributeSelectorBase
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the AttributeSelectorBase class with an empty property name and value, that matches all ReportItemBase objects.
public AttributeSelectorBase()
Initializes a new instance of the AttributeSelectorBase class with the specified property name and value, that matches all ReportItemBase objects.
public AttributeSelectorBase(string propertyName, object propertyValue)
A string value indicating the property name to match.
propertyValueobjectA string value indicating the property value to match.
Initializes a new instance of the AttributeSelectorBase class with the specified property name and value, that matches items of the specified type.
public AttributeSelectorBase(Type type, string propertyName, object propertyValue)
A Type value indicating the type of the items to match.
propertyNamestringA string value indicating the property name to match.
propertyValueobjectA string value indicating the property value to match.
Fields
attributeName
string
The name of the property to match.
protected string attributeName
attributeValue
object
The value of the property to match.
protected object attributeValue
descriptor
PropertyDescriptor
The property descriptor associated with the property that this selector matches.
protected PropertyDescriptor descriptor
Methods
Copies the property name and value of the selector to the target typeSelector.
protected override void CopyTo(TypeSelector typeSelector)
The TypeSelector to copy to.
Overrides:
Equals(object)
bool
Internal use only
public override bool Equals(object obj)
bool
Overrides:
TODO: Add documentation.
public override int GetHashCode()
int
Overrides:
Matches a report item by the value of its property.
public override bool Match(ReportItemBase item)
The ReportItemBase to match.
Returns:bool
true if the item's property value matches.
Overrides: