Class
MultiObjectPropertyDescriptor

Represents a property descriptor for MultiObjectCollection properties.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class MultiObjectPropertyDescriptor : PropertyDescriptor

Inheritance: objectMemberDescriptorPropertyDescriptorMultiObjectPropertyDescriptor

Inherited Members PropertyDescriptor.AddValueChanged(object, EventHandler)PropertyDescriptor.Equals(object)PropertyDescriptor.CreateInstance(Type)PropertyDescriptor.FillAttributes(IList)PropertyDescriptor.GetChildProperties()PropertyDescriptor.GetChildProperties(Attribute[])PropertyDescriptor.GetChildProperties(object)PropertyDescriptor.GetChildProperties(object, Attribute[])PropertyDescriptor.GetEditor(Type)PropertyDescriptor.GetHashCode()PropertyDescriptor.GetInvocationTarget(Type, object)PropertyDescriptor.GetTypeFromName(string)PropertyDescriptor.OnValueChanged(object, EventArgs)PropertyDescriptor.RemoveValueChanged(object, EventHandler)PropertyDescriptor.GetValueChangedHandler(object)PropertyDescriptor.ConverterPropertyDescriptor.IsLocalizablePropertyDescriptor.SerializationVisibilityPropertyDescriptor.SupportsChangeEventsMemberDescriptor.CreateAttributeCollection()MemberDescriptor.FindMethod(Type, string, Type[], Type)MemberDescriptor.FindMethod(Type, string, Type[], Type, bool)MemberDescriptor.GetSite(object)MemberDescriptor.GetInvokee(Type, object)MemberDescriptor.AttributeArrayMemberDescriptor.AttributesMemberDescriptor.CategoryMemberDescriptor.DescriptionMemberDescriptor.IsBrowsableMemberDescriptor.NameMemberDescriptor.NameHashCodeMemberDescriptor.DesignTimeOnlyMemberDescriptor.DisplayName

Constructors

MultiObjectPropertyDescriptor(MultiObjectCollection, Dictionary<Type, PropertyDescriptor>)

Creates a new instance of the MultiObjectPropertyDescriptor class.

Declaration

cs-api-definition
public MultiObjectPropertyDescriptor(MultiObjectCollection objects, Dictionary<Type, PropertyDescriptor> originalProperties)

Parameters

objects

MultiObjectCollection

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

cs-api-definition
public override Type ComponentType { get; }

Property Value

Type

Overrides PropertyDescriptor.ComponentType

IsReadOnly

Gets a value indicating whether this property is read only. Always returns false.

Declaration

cs-api-definition
public override bool IsReadOnly { get; }

Property Value

bool

Overrides PropertyDescriptor.IsReadOnly

PropertyType

Returns the type of the property.

Declaration

cs-api-definition
public override Type PropertyType { get; }

Property Value

Type

Overrides PropertyDescriptor.PropertyType

Methods

CanResetValue(object)

Gets a value indicating whether a property can be reset.

Declaration

cs-api-definition
public override bool CanResetValue(object component)

Parameters

component

object

Returns

bool

Always returns true.

Overrides PropertyDescriptor.CanResetValue(object)

GetValue(object)

Gets a common value of all objects or returns null if object's values differ.

Declaration

cs-api-definition
public override object GetValue(object component)

Parameters

component

object

Returns

object

Returns a common value or null

Overrides PropertyDescriptor.GetValue(object)

ResetValue(object)

Resets the values of all objects for this property.

Declaration

cs-api-definition
public override void ResetValue(object component)

Parameters

component

object

Overrides PropertyDescriptor.ResetValue(object)

SetValue(object, object)

Sets a value to all objects.

The value to set.

Declaration

cs-api-definition
public override void SetValue(object component, object value)

Parameters

component

object

value

object

Overrides PropertyDescriptor.SetValue(object, object)

ShouldSerializeValue(object)

Gets a value indicating whether value should be serialized.

Declaration

cs-api-definition
public override bool ShouldSerializeValue(object component)

Parameters

component

object

Returns

bool

Always returns true.

Overrides PropertyDescriptor.ShouldSerializeValue(object)