Class CollectionAttribute
This attributes provides additional information on a member collection.
Inheritance
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class CollectionAttribute : Attribute
Constructors
CollectionAttribute()
Declaration
public CollectionAttribute()
Fields
BackgroundColor
The collection background color.
Declaration
public Nullable<Color> BackgroundColor
Field Value
|
System.Nullable<Color>
|
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.
Declaration
public bool CanReorderItems
Field Value
|
System.Boolean
|
CanResize
Gets or sets whether items can be added or removed from this collection.
Declaration
public bool CanResize
Field Value
|
System.Boolean
|
Display
Gets or sets the display type.
Declaration
public CollectionAttribute.DisplayType Display
Field Value
|
CollectionAttribute.DisplayType
|
MaxCount
The maximum size of the collection. Zero if unlimited.
Declaration
public int MaxCount
Field Value
|
System.Int32
|
MinCount
The minimum size of the collection.
Declaration
public int MinCount
Field Value
|
System.Int32
|
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.
Declaration
public bool NotNullItems
Field Value
|
System.Boolean
|
OverrideEditorTypeName
Custom editor class typename for collection values editing.
Declaration
public string OverrideEditorTypeName
Field Value
|
System.String
|
ReadOnly
Gets or sets whether this collection is read-only. If true, applications using this collection should not allow to add or remove items.
Declaration
public bool ReadOnly
Field Value
|
System.Boolean
|
Spacing
The spacing amount between collection items in the UI.
Declaration
public float Spacing
Field Value
|
System.Single
|