Quantum 3
3.0.9
Editor attribute for selecting the minimum and maximum length constraints for an array field. More...
Public Member Functions | |
| ArrayLengthAttribute (int length) | |
| Initializes a new instance of the ArrayLengthAttribute class with the specified length. More... | |
| ArrayLengthAttribute (int minLength, int maxLength) | |
| Initializes a new instance of the ArrayLengthAttribute class with the specified minimum and maximum lengths. More... | |
Properties | |
| int | MaxLength [get] |
| Gets the maximum length of the array. More... | |
| int | MinLength [get] |
| Gets the minimum length of the array. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from Quantum.DecoratingPropertyAttribute | |
| const int | DefaultOrder = -10000 |
| The default order of the attribute. More... | |
Protected Member Functions inherited from Quantum.DecoratingPropertyAttribute | |
| DecoratingPropertyAttribute (bool applyToCollection=false) | |
| Initializes a new instance with the default order. More... | |
| DecoratingPropertyAttribute (int order, bool applyToCollection=false) | |
| Initializes a new instance with the specified order. More... | |
Editor attribute for selecting the minimum and maximum length constraints for an array field.
|
inline |
Initializes a new instance of the ArrayLengthAttribute class with the specified length.
| length | The length of the array. |
|
inline |
Initializes a new instance of the ArrayLengthAttribute class with the specified minimum and maximum lengths.
| minLength | The minimum length of the array. |
| maxLength | The maximum length of the array. |
|
get |
Gets the minimum length of the array.
|
get |
Gets the maximum length of the array.