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