[]
Initializes a new instance of the Status class with the specified key.
public Status(int key)
Type | Name | Description |
---|---|---|
int | key | The int value which should be used as status key. |
Use this constructor if your business logic requires setting custom key value. Make sure that you use the correct constructor overload (with integer or Guid key value) and that key value is unique.
Initializes a new instance of the Status class with the specified key.
public Status(Guid key)
Type | Name | Description |
---|---|---|
Guid | key | The Guid value which should be used as status key. |
Use this constructor if your business logic requires setting custom key value. Make sure that you use the correct constructor overload (with integer or Guid key value) and that key value is unique.
Creates the new custom Status object with default parameters.
public Status()
Creates a new instance of the Status class and initializes it with the specified type.
public Status(StatusTypeEnum type)
Type | Name | Description |
---|---|---|
StatusTypeEnum | type | The StatusTypeEnum value. |
Creates a new instance of the Status class and initializes it with the specified type.
public Status(StatusTypeEnum type, CultureInfo culture)
Type | Name | Description |
---|---|---|
StatusTypeEnum | type | The StatusTypeEnum value. |
CultureInfo | culture | The CultureInfo value. |
Creates a new instance of the custom Status object with the specified text.
public Status(string text)
Type | Name | Description |
---|---|---|
string | text | The string value. |
Creates the new custom Status object with specified text and menu caption.
public Status(string text, string menuCaption)
Type | Name | Description |
---|---|---|
string | text | The string value. |
string | menuCaption | The menu caption for displaying status in dialogs. |
Creates the new custom Status object with specified color, text and menu caption.
public Status(Color color, string text, string menuCaption)
Type | Name | Description |
---|---|---|
Color | color | The color which will be used for displaying status. |
string | text | The string value. |
string | menuCaption | The menu caption for displaying status in dialogs. |
Creates the new custom Status object with specified parameters.
public Status(Color color, string text, string menuCaption, C1Brush brush)
Type | Name | Description |
---|---|---|
Color | color | The color which will be used for displaying status. |
string | text | The string value. |
string | menuCaption | The menu caption for displaying status in dialogs. |
C1Brush | brush | The brush which will be used for displaying status. |
Special constructor for deserialization.
protected Status(SerializationInfo info, StreamingContext context)
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo. |
StreamingContext | context | The context information. |