Table of Contents

Class ItemsSourceAttribute

Namespace
Ecng.ComponentModel
Assembly
Ecng.ComponentModel.dll

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

[AttributeUsage(AttributeTargets.Property)]
public class ItemsSourceAttribute : Attribute
Inheritance
ItemsSourceAttribute
Inherited Members
Extension Methods

Constructors

ItemsSourceAttribute(Type)

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

public ItemsSourceAttribute(Type type)

Parameters

type Type

The type to use as the items source.

Properties

IsEditable

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

public bool IsEditable { get; set; }

Property Value

bool

Type

Gets the type to use for the items source.

public Type Type { get; }

Property Value

Type