TypeSelector
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
Initializes a new instance of the TypeSelector class that matches any type of report item.
public TypeSelector()
Initializes a new instance of the TypeSelector class that matches items of the specified type.
public TypeSelector(Type type)
The Type that this selector matches.
Fields
AnyType
Type
Initializes a new type that matches any type of report item.
public static readonly Type AnyType
initialized
bool
TODO: Add documentation.
protected bool initialized
Properties
Type
Type
Gets or sets the Type that this selector matches.
public Type Type { get; set; }
A Type value to match.
Methods
Copies this TypeSelector to the specified typeSelector.
protected virtual void CopyTo(TypeSelector typeSelector)
The TypeSelector to copy to.
Performs a deep clone of the TypeSelector.
Internal use only
public override bool Equals(object obj)
bool
Overrides:
TODO: Add documentation.
public override int GetHashCode()
int
Overrides:
TODO: Add documentation.
public static Type Lookup(string name)
Type
Matches a ReportItemBase based on its type.
public virtual bool Match(ReportItemBase item)
The ReportItemBase to match.
Returns:bool
true if item matches; otherwise false.
Implements:
Called when the Type of this selector changes.
protected virtual void OnTypeChange()
Creates a human-readable string that represents this TypeSelector.
public override string ToString()
string
A string that represents this TypeSelector.
Overrides: