Table of Contents

Class MemberCollectionAttribute

Namespace
Stride.Core.Annotations
Assembly
Stride.Core.dll

This attributes provides additional information on a member collection.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Property|AttributeTargets.Field)]
public sealed class MemberCollectionAttribute : Attribute
Inheritance
MemberCollectionAttribute
Inherited Members

Properties

CanReorderItems

Gets or sets whether the items of this collection can be reordered. If true, applications using this collection should provide users a way to reorder items.

public bool CanReorderItems { get; set; }

Property Value

bool

NotNullItems

Gets or sets whether the items of this collection can be null. If true, applications using this collection should prevent user to add null items to the collection.

public bool NotNullItems { get; set; }

Property Value

bool

ReadOnly

Gets or sets whether this collection is read-only. If true, applications using this collection should not allow adding or removing items.

public bool ReadOnly { get; set; }

Property Value

bool