ClassTypeSelector
Represents a selector base on a Type
Definition
Namespace:Telerik.Reporting.Drawing
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(TypeSelectorConverter))]
public class TypeSelector : ISelector
Inheritance: objectTypeSelector
Derived Classes:
Implements:
Constructors
TypeSelector()
Initializes a new instance of the TypeSelector class that matches any type of report item.
Declaration
public TypeSelector()
TypeSelector(Type)
Initializes a new instance of the TypeSelector class that matches items of the specified type.
Declaration
public TypeSelector(Type type)
Parameters
type
Type
The Type that this selector matches.
Fields
AnyType
Initializes a new type that matches any type of report item.
Declaration
public static readonly Type AnyType
Field Value
Type
initialized
TODO: Add documentation.
Declaration
protected bool initialized
Field Value
bool
Properties
Type
Gets or sets the Type that this selector matches.
Declaration
public Type Type { get; set; }
Property Value
Type
A Type value to match.
Methods
CopyTo(TypeSelector)
Copies this TypeSelector to the specified typeSelector.
Declaration
protected virtual void CopyTo(TypeSelector typeSelector)
Parameters
typeSelector
The TypeSelector to copy to.
DeepClone()
Performs a deep clone of the TypeSelector.
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
Lookup(string)
TODO: Add documentation.
Declaration
public static Type Lookup(string name)
Parameters
name
string
Returns
Type
Match(ReportItemBase)
Matches a ReportItemBase based on its type.
Declaration
public virtual bool Match(ReportItemBase item)
Parameters
item
The ReportItemBase to match.
Returns
bool
true if item matches; otherwise false.
Implements
OnTypeChange()
Called when the Type of this selector changes.
Declaration
protected virtual void OnTypeChange()
ToString()
Creates a human-readable string that represents this TypeSelector.
Declaration
public override string ToString()
Returns
string
A string that represents this TypeSelector.
Overrides