Class
RadTypeResolver

Used to resolve Telerik types

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public sealed class RadTypeResolver

Inheritance: objectRadTypeResolver

Properties

Instance

Gets the only instance of the resolver.

Declaration

cs-api-definition
public static RadTypeResolver Instance { get; }

Property Value

RadTypeResolver

ResolveTypesInCurrentAssembly

Gets or sets value indicating whether the TypeResolver should look up types in the calling assembly only. This option (if set to true) is very useful particularly in the case when all the assemblies of the application, including the Telerik assemblies are merged into a single assembly.

Declaration

cs-api-definition
public bool ResolveTypesInCurrentAssembly { get; set; }

Property Value

bool

TypeResolverAssemblyName

Gets or sets value indicating the search pattern for assembly in the domain that contains the types referenced in RadControls theme files. By default the types referenced in theme files are contained in assemblies with the name "Telerik"

Declaration

cs-api-definition
public string TypeResolverAssemblyName { get; set; }

Property Value

string

TypeResolverAssemblyVersion

Gets or sets value indicating the version of the assembly specified in TypeResolverAssemblyName

Declaration

cs-api-definition
public Version TypeResolverAssemblyVersion { get; set; }

Property Value

Version

Methods

GetRegisteredRadProperty(Type, string)

Declaration

cs-api-definition
public RadProperty GetRegisteredRadProperty(Type radOjectType, string propertyName)

Parameters

radOjectType

Type

propertyName

string

Returns

RadProperty

GetRegisteredRadPropertyFromFullName(string)

Declaration

cs-api-definition
public RadProperty GetRegisteredRadPropertyFromFullName(string propertyFullName)

Parameters

propertyFullName

string

Returns

RadProperty

GetTypeByName(string)

Declaration

cs-api-definition
public Type GetTypeByName(string className)

Parameters

className

string

Returns

Type

GetTypeByName(string, bool)

Declaration

cs-api-definition
public Type GetTypeByName(string className, bool throwOnError)

Parameters

className

string

throwOnError

bool

Returns

Type

GetTypeByName(string, bool, bool)

Declaration

cs-api-definition
public Type GetTypeByName(string className, bool throwOnError, bool onlyInTelerikAssemblies)

Parameters

className

string

throwOnError

bool

onlyInTelerikAssemblies

bool

Returns

Type

IsTelerikAssembly(Assembly)

Declaration

cs-api-definition
public bool IsTelerikAssembly(Assembly asm)

Parameters

asm

Assembly

Returns

bool

RegisterKnownType(string, Type)

Declaration

cs-api-definition
public void RegisterKnownType(string className, Type type)

Parameters

className

string

type

Type