Class RadProperty
Represents a property. Supports telerik dependency properties system by encapsulating a property of a certain RadElement instance.
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class RadProperty
Fields
UnsetValue
Declaration
public static readonly object UnsetValue
Field Value
System.Object
|
Properties
FullName
Declaration
public string FullName { get; }
Property Value
System.String
|
GlobalIndex
Declaration
public int GlobalIndex { get; }
Property Value
System.Int32
|
Name
Declaration
public string Name { get; }
Property Value
System.String
|
OwnerType
Declaration
public Type OwnerType { get; }
Property Value
System.Type
|
PropertyType
Declaration
public Type PropertyType { get; }
Property Value
System.Type
|
PropertyTypeIsValueType
Declaration
public bool PropertyTypeIsValueType { get; }
Property Value
System.Boolean
|
ValidateValueCallback
Declaration
public ValidateValueCallback ValidateValueCallback { get; }
Property Value
ValidateValueCallback
|
Methods
AddOwner(Type)
Declaration
public RadProperty AddOwner(Type ownerType)
Parameters
System.Type
ownerType
|
Returns
RadProperty
|
AddOwner(Type, RadPropertyMetadata)
Declaration
public RadProperty AddOwner(Type ownerType, RadPropertyMetadata typeMetadata)
Parameters
System.Type
ownerType
|
RadPropertyMetadata
typeMetadata
|
Returns
RadProperty
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
Find(String, String)
Declaration
public static RadProperty Find(string className, string propertyName)
Parameters
System.String
className
|
System.String
propertyName
|
Returns
RadProperty
|
Find(Type, String)
Declaration
public static RadProperty Find(Type objectType, string propertyName)
Parameters
System.Type
objectType
|
System.String
propertyName
|
Returns
RadProperty
|
FindClrProperty()
Declaration
public PropertyDescriptor FindClrProperty()
Returns
System.ComponentModel.PropertyDescriptor
|
FindSafe(String, String)
Declaration
public static RadProperty FindSafe(string className, string propertyName)
Parameters
System.String
className
|
System.String
propertyName
|
Returns
RadProperty
|
FindSafe(Type, String)
Declaration
public static RadProperty FindSafe(Type objectType, string propertyName)
Parameters
System.Type
objectType
|
System.String
propertyName
|
Returns
RadProperty
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
GetMetadata(RadObject)
Declaration
public RadPropertyMetadata GetMetadata(RadObject radObject)
Parameters
RadObject
radObject
|
Returns
RadPropertyMetadata
|
GetMetadata(RadObjectType)
Declaration
public RadPropertyMetadata GetMetadata(RadObjectType radObjectType)
Parameters
RadObjectType
radObjectType
|
Returns
RadPropertyMetadata
|
IsValidType(Object)
Declaration
public bool IsValidType(object value)
Parameters
System.Object
value
|
Returns
System.Boolean
|
IsValidValue(Object, RadObject)
Declaration
public bool IsValidValue(object value, RadObject instance)
Parameters
System.Object
value
|
RadObject
instance
|
Returns
System.Boolean
|
OverrideMetadata(Type, RadPropertyMetadata)
Declaration
public void OverrideMetadata(Type forType, RadPropertyMetadata typeMetadata)
Parameters
System.Type
forType
|
RadPropertyMetadata
typeMetadata
|
Register(String, Type, Type, RadPropertyMetadata)
Declaration
public static RadProperty Register(string name, Type propertyType, Type ownerType, RadPropertyMetadata typeMetadata)
Parameters
System.String
name
|
System.Type
propertyType
|
System.Type
ownerType
|
RadPropertyMetadata
typeMetadata
|
Returns
RadProperty
|
Register(String, Type, Type, RadPropertyMetadata, ValidateValueCallback)
Declaration
public static RadProperty Register(string name, Type propertyType, Type ownerType, RadPropertyMetadata typeMetadata, ValidateValueCallback validateValueCallback)
Parameters
System.String
name
|
System.Type
propertyType
|
System.Type
ownerType
|
RadPropertyMetadata
typeMetadata
|
ValidateValueCallback
validateValueCallback
|
Returns
RadProperty
|
RegisterAttached(String, Type, Type, RadPropertyMetadata)
Declaration
public static RadProperty RegisterAttached(string name, Type propertyType, Type ownerType, RadPropertyMetadata typeMetadata)
Parameters
System.String
name
|
System.Type
propertyType
|
System.Type
ownerType
|
RadPropertyMetadata
typeMetadata
|
Returns
RadProperty
|
RegisterAttached(String, Type, Type, RadPropertyMetadata, ValidateValueCallback)
Declaration
public static RadProperty RegisterAttached(string name, Type propertyType, Type ownerType, RadPropertyMetadata typeMetadata, ValidateValueCallback validateValueCallback)
Parameters
System.String
name
|
System.Type
propertyType
|
System.Type
ownerType
|
RadPropertyMetadata
typeMetadata
|
ValidateValueCallback
validateValueCallback
|
Returns
RadProperty
|