ItemsSourceAttribute

Ecng.ComponentModel

Specifies the items source type to be used for a property.

Herda de: Attribute

Construtores

ItemsSourceAttribute
public ItemsSourceAttribute(Type type)
itemsSourceAttribute = ItemsSourceAttribute(type)

Initializes a new instance of the ItemsSourceAttribute class with the specified source type.

type
The type to use as the items source.

Propriedades

IsEditable
public bool IsEditable { get; set; }
value = itemsSourceAttribute.IsEditable
itemsSourceAttribute.IsEditable = value

Gets or sets a value indicating whether the user is allowed to edit the items.

Type
public Type Type { get; }
value = itemsSourceAttribute.Type

Gets the type to use for the items source.