Class MultiObjectPropertyDescriptor
Represents a property descriptor for MultiObjectCollection properties.
Inheritance
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class MultiObjectPropertyDescriptor : PropertyDescriptor
Constructors
MultiObjectPropertyDescriptor(MultiObjectCollection, Dictionary<Type, PropertyDescriptor>)
Creates a new instance of the MultiObjectPropertyDescriptor class.
Declaration
public MultiObjectPropertyDescriptor(MultiObjectCollection objects, Dictionary<Type, PropertyDescriptor> originalProperties)
Parameters
MultiObjectCollection
objects
The collection of objects whose properties will be exposed. |
System.Collections.Generic.Dictionary<System.Type, System.ComponentModel.PropertyDescriptor>
originalProperties
The original property descriptors for the objects. |
Properties
ComponentType
Returns the type of component this property descriptor is for.
Declaration
public override Type ComponentType { get; }
Property Value
System.Type
|
IsReadOnly
Gets a value indicating whether this property is read only. Always returns false.
Declaration
public override bool IsReadOnly { get; }
Property Value
System.Boolean
|
PropertyType
Returns the type of the property.
Declaration
public override Type PropertyType { get; }
Property Value
System.Type
|
Methods
CanResetValue(Object)
Gets a value indicating whether a property can be reset.
Declaration
public override bool CanResetValue(object component)
Parameters
System.Object
component
|
Returns
System.Boolean
Always returns true. |
GetValue(Object)
Gets a common value of all objects or returns null if object's values differ.
Declaration
public override object GetValue(object component)
Parameters
System.Object
component
|
Returns
System.Object
Returns a common value or null |
ResetValue(Object)
Resets the values of all objects for this property.
Declaration
public override void ResetValue(object component)
Parameters
System.Object
component
|
SetValue(Object, Object)
Sets a value to all objects. The value to set.
Declaration
public override void SetValue(object component, object value)
Parameters
System.Object
component
|
System.Object
value
|
ShouldSerializeValue(Object)
Gets a value indicating whether value should be serialized.
Declaration
public override bool ShouldSerializeValue(object component)
Parameters
System.Object
component
|
Returns
System.Boolean
Always returns true. |