Class AttributeSelectorBase
Provides the abstract base class for an attribute selector.
Inherited Members
Namespace: Telerik.Reporting.Drawing
Assembly: Telerik.Reporting.dll
Syntax
public abstract class AttributeSelectorBase : TypeSelector, ISelector, ISupportInitialize
Remarks
Selectors are defined for each StyleRule in the StyleSheet.
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(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
|
System.String
propertyName
A string value indicating the property name to match. |
|
System.Object
propertyValue
A string value indicating the property value to match. |
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
|
System.Type
type
A System.Type value indicating the type of the items to match. |
|
System.String
propertyName
A string value indicating the property name to match. |
|
System.Object
propertyValue
A string value indicating the property value to match. |
Fields
attributeName
The name of the property to match.
Declaration
protected string attributeName
Field Value
|
System.String
|
attributeValue
The value of the property to match.
Declaration
protected object attributeValue
Field Value
|
System.Object
|
descriptor
The property descriptor associated with the property that this selector matches.
Declaration
protected PropertyDescriptor descriptor
Field Value
|
System.ComponentModel.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
typeSelector
The TypeSelector to copy to. |
Overrides
Equals(Object)
Internal use only
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
|
Returns
|
System.Boolean
|
Overrides
GetHashCode()
TODO: Add documentation.
Declaration
public override int GetHashCode()
Returns
|
System.Int32
|
Overrides
Match(ReportItemBase)
Matches a report item by the value of its property.
Declaration
public override bool Match(ReportItemBase item)
Parameters
|
ReportItemBase
item
The ReportItemBase to match. |
Returns
|
System.Boolean
true if the item's property value matches. |