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