Class PropertySetting
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class PropertySetting : IPropertySetting
Constructors
PropertySetting()
Initializes a new instnace of the PropertySetting class.
Declaration
public PropertySetting()
PropertySetting(String, Object)
Initializes a new instnace of the PropertySetting class by specifying property name and its value.
Declaration
public PropertySetting(string propertyName, object value)
Parameters
|
System.String
propertyName
A property name. |
|
System.Object
value
A property value. |
PropertySetting(PropertySetting)
Initializes a new instnace of the PropertySetting class by using an exising property setting instance.
Declaration
public PropertySetting(PropertySetting setting)
Parameters
|
PropertySetting
setting
An existing property setting. |
PropertySetting(RadProperty, Object)
Initializes a new instnace of the PropertySetting class by specifying property and its value.
Declaration
public PropertySetting(RadProperty property, object value)
Parameters
|
RadProperty
property
A property. |
|
System.Object
value
A property value. |
Fields
PropertyMapper
Gets or sets the property mapper used to map property names based on the stylable element type.
Declaration
public PropertyMapper PropertyMapper
Field Value
|
PropertyMapper
|
Properties
AnimatedSetting
Gets an instance of AnimatedPropertySetting related with this setting.
Declaration
public AnimatedPropertySetting AnimatedSetting { get; set; }
Property Value
|
AnimatedPropertySetting
|
EndValue
Gets or sets the property end value (creates an animated property setting).
Declaration
public object EndValue { get; set; }
Property Value
|
System.Object
|
FullName
Gets or sets the full property name (including the class name).
Declaration
public string FullName { get; set; }
Property Value
|
System.String
|
Name
Gets or sets the property name.
Declaration
public string Name { get; set; }
Property Value
|
System.String
|
Property
Gets the associated RadProperty.
Declaration
public RadProperty Property { get; set; }
Property Value
|
RadProperty
|
Implements
Value
Gets or sets the property value.
Declaration
public object Value { get; set; }
Property Value
|
System.Object
|
Methods
ApplyValue(RadObject)
Applies the property setting on the specified element.
Declaration
public void ApplyValue(RadObject element)
Parameters
|
RadObject
element
An instance of RadObject |
Implements
FindProperty(Type, String, Boolean)
Resolves the RadProperty object based on its arguments.
Declaration
public static RadProperty FindProperty(Type currentType, string propertyName, bool fallback)
Parameters
|
System.Type
currentType
The type which owns this property. |
|
System.String
propertyName
The property name. |
|
System.Boolean
fallback
Specifies whether to search base classes if the current type does not contain the specified property. |
Returns
|
RadProperty
An instance of RadProperty if successful. |
GetCurrentValue(RadObject)
Gets the current property value for the specified RadObject
Declaration
public object GetCurrentValue(RadObject forObject)
Parameters
|
RadObject
forObject
The object. |
Returns
|
System.Object
The current property value for the object. |
Implements
UnapplyValue(RadObject)
Unapplies the property setting from the specified element.
Declaration
public void UnapplyValue(RadObject element)
Parameters
|
RadObject
element
An instance of RadObject |