Class
PropertySetting

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class PropertySetting : IPropertySetting

Inheritance: objectPropertySetting

Implements: IPropertySetting

Constructors

PropertySetting()

Initializes a new instnace of the PropertySetting class.

Declaration

cs-api-definition
public PropertySetting()

PropertySetting(PropertySetting)

Initializes a new instnace of the PropertySetting class by using an exising property setting instance.

Declaration

cs-api-definition
public PropertySetting(PropertySetting setting)

Parameters

setting

PropertySetting

An existing property setting.

PropertySetting(RadProperty, object)

Initializes a new instnace of the PropertySetting class by specifying property and its value.

Declaration

cs-api-definition
public PropertySetting(RadProperty property, object value)

Parameters

property

RadProperty

A property.

value

object

A property value.

PropertySetting(string, object)

Initializes a new instnace of the PropertySetting class by specifying property name and its value.

Declaration

cs-api-definition
public PropertySetting(string propertyName, object value)

Parameters

propertyName

string

A property name.

value

object

A property value.

Fields

PropertyMapper

Gets or sets the property mapper used to map property names based on the stylable element type.

Declaration

cs-api-definition
public PropertyMapper PropertyMapper

Field Value

PropertyMapper

Properties

AnimatedSetting

Gets an instance of AnimatedPropertySetting related with this setting.

Declaration

cs-api-definition
public AnimatedPropertySetting AnimatedSetting { get; set; }

Property Value

AnimatedPropertySetting

EndValue

Gets or sets the property end value (creates an animated property setting).

Declaration

cs-api-definition
public object EndValue { get; set; }

Property Value

object

FullName

Gets or sets the full property name (including the class name).

Declaration

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

Property Value

string

Name

Gets or sets the property name.

Declaration

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

Property Value

string

Property

Gets the associated RadProperty.

Declaration

cs-api-definition
public RadProperty Property { get; set; }

Property Value

RadProperty

Implements IPropertySetting.Property

Value

Gets or sets the property value.

Declaration

cs-api-definition
public object Value { get; set; }

Property Value

object

Methods

ApplyValue(RadObject)

Applies the property setting on the specified element.

Declaration

cs-api-definition
public void ApplyValue(RadObject element)

Parameters

element

RadObject

An instance of RadObject

Implements IPropertySetting.ApplyValue(RadObject)

FindProperty(Type, string, bool)

Resolves the RadProperty object based on its arguments.

Declaration

cs-api-definition
public static RadProperty FindProperty(Type currentType, string propertyName, bool fallback)

Parameters

currentType

Type

The type which owns this property.

propertyName

string

The property name.

fallback

bool

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

cs-api-definition
public object GetCurrentValue(RadObject forObject)

Parameters

forObject

RadObject

The object.

Returns

object

The current property value for the object.

Implements IPropertySetting.GetCurrentValue(RadObject)

UnapplyValue(RadObject)

Unapplies the property setting from the specified element.

Declaration

cs-api-definition
public void UnapplyValue(RadObject element)

Parameters

element

RadObject

An instance of RadObject

Implements IPropertySetting.UnapplyValue(RadObject)