ClassAttributeSelectorBase
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
AttributeSelectorBase()
Initializes a new instance of the AttributeSelectorBase class with an empty property name and value, that matches all ReportItemBase objects.
Declaration
public AttributeSelectorBase()
AttributeSelectorBase(Type, string, object)
Initializes a new instance of the AttributeSelectorBase class with the specified property name and value, that matches items of the specified type.
Declaration
public AttributeSelectorBase(Type type, string propertyName, object propertyValue)
Parameters
type
Type
A Type value indicating the type of the items to match.
propertyName
string
A string value indicating the property name to match.
propertyValue
object
A string value indicating the property value to match.
AttributeSelectorBase(string, object)
Initializes a new instance of the AttributeSelectorBase class with the specified property name and value, that matches all ReportItemBase objects.
Declaration
public AttributeSelectorBase(string propertyName, object propertyValue)
Parameters
propertyName
string
A string value indicating the property name to match.
propertyValue
object
A string value indicating the property value to match.
Fields
attributeName
The name of the property to match.
Declaration
protected string attributeName
Field Value
string
attributeValue
The value of the property to match.
Declaration
protected object attributeValue
Field Value
object
descriptor
The property descriptor associated with the property that this selector matches.
Declaration
protected PropertyDescriptor descriptor
Field Value
PropertyDescriptor
Methods
CopyTo(TypeSelector)
Copies the property name and value of the selector to the target typeSelector.
Declaration
protected override void CopyTo(TypeSelector typeSelector)
Parameters
typeSelector
The TypeSelector to copy to.
Overrides
Equals(object)
Internal use only
Declaration
public override bool Equals(object obj)
Parameters
obj
object
Returns
bool
Overrides
GetHashCode()
TODO: Add documentation.
Declaration
public override int GetHashCode()
Returns
int
Overrides
Match(ReportItemBase)
Matches a report item by the value of its property.
Declaration
public override bool Match(ReportItemBase item)
Parameters
item
The ReportItemBase to match.
Returns
bool
true if the item's property value matches.
Overrides