Class
AttributeSelectorBase

Provides the abstract base class for an attribute selector.

Definition

Namespace:Telerik.Reporting.Drawing

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public abstract class AttributeSelectorBase : TypeSelector, ISelector

Inheritance: objectTypeSelectorAttributeSelectorBase

Derived Classes: AttributeSelectorStyleSelector

Implements: ISelector

Inherited Members TypeSelector.AnyTypeTypeSelector.initializedTypeSelector.Lookup(string)TypeSelector.DeepClone()TypeSelector.OnTypeChange()TypeSelector.ToString()TypeSelector.Type

Constructors

AttributeSelectorBase()

Initializes a new instance of the AttributeSelectorBase class with an empty property name and value, that matches all ReportItemBase objects.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
protected string attributeName

Field Value

string

attributeValue

The value of the property to match.

Declaration

cs-api-definition
protected object attributeValue

Field Value

object

descriptor

The property descriptor associated with the property that this selector matches.

Declaration

cs-api-definition
protected PropertyDescriptor descriptor

Field Value

PropertyDescriptor

Methods

CopyTo(TypeSelector)

Copies the property name and value of the selector to the target typeSelector.

Declaration

cs-api-definition
protected override void CopyTo(TypeSelector typeSelector)

Parameters

typeSelector

TypeSelector

The TypeSelector to copy to.

Overrides TypeSelector.CopyTo(TypeSelector)

Equals(object)

Internal use only

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Returns

bool

Overrides TypeSelector.Equals(object)

GetHashCode()

TODO: Add documentation.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides TypeSelector.GetHashCode()

Match(ReportItemBase)

Matches a report item by the value of its property.

Declaration

cs-api-definition
public override bool Match(ReportItemBase item)

Parameters

item

ReportItemBase

The ReportItemBase to match.

Returns

bool

true if the item's property value matches.

Overrides TypeSelector.Match(ReportItemBase)