Class TypeSelector
Represents a selector base on a System.Type
Inheritance
Namespace: Telerik.Reporting.Drawing
Assembly: Telerik.Reporting.dll
Syntax
public class TypeSelector : ISelector, ISupportInitialize
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
System.Type
type
The System.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
System.Type
|
initialized
Declaration
protected bool initialized
Field Value
System.Boolean
|
Properties
Type
Gets or sets the System.Type that this selector matches.
Declaration
public Type Type { get; set; }
Property Value
System.Type
A System.Type value to match. |
Methods
CopyTo(TypeSelector)
Copies this TypeSelector to the specified typeSelector.
Declaration
protected virtual void CopyTo(TypeSelector typeSelector)
Parameters
TypeSelector
typeSelector
The TypeSelector to copy to. |
DeepClone()
Performs a deep clone of the TypeSelector.
Declaration
public virtual ISelector DeepClone()
Returns
ISelector
The cloned TypeSelector |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
Lookup(String)
Declaration
public static Type Lookup(string name)
Parameters
System.String
name
|
Returns
System.Type
|
Match(ReportItemBase)
Matches a ReportItemBase based on its type.
Declaration
public virtual bool Match(ReportItemBase item)
Parameters
ReportItemBase
item
The ReportItemBase to match. |
Returns
System.Boolean
true if item matches; otherwise false. |
Implements
OnTypeChange()
ToString()
Creates a human-readable string that represents this TypeSelector.
Declaration
public override string ToString()
Returns
System.String
A string that represents this TypeSelector. |