[]
        
(Showing Draft Content)

C1.Schedule.Status.-ctor

Status Constructor

Status(int)

Initializes a new instance of the Status class with the specified key.

Declaration
public Status(int key)
Parameters
Type Name Description
int key

The int value which should be used as status key.

Remarks

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.

Status(Guid)

Initializes a new instance of the Status class with the specified key.

Declaration
public Status(Guid key)
Parameters
Type Name Description
Guid key

The Guid value which should be used as status key.

Remarks

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.

Status()

Creates the new custom Status object with default parameters.

Declaration
public Status()

Status(StatusTypeEnum)

Creates a new instance of the Status class and initializes it with the specified type.

Declaration
public Status(StatusTypeEnum type)
Parameters
Type Name Description
StatusTypeEnum type

The StatusTypeEnum value.

Status(StatusTypeEnum, CultureInfo)

Creates a new instance of the Status class and initializes it with the specified type.

Declaration
public Status(StatusTypeEnum type, CultureInfo culture)
Parameters
Type Name Description
StatusTypeEnum type

The StatusTypeEnum value.

CultureInfo culture

The CultureInfo value.

Status(string)

Creates a new instance of the custom Status object with the specified text.

Declaration
public Status(string text)
Parameters
Type Name Description
string text

The string value.

Status(string, string)

Creates the new custom Status object with specified text and menu caption.

Declaration
public Status(string text, string menuCaption)
Parameters
Type Name Description
string text

The string value.

string menuCaption

The menu caption for displaying status in dialogs.

Status(Color, string, string)

Creates the new custom Status object with specified color, text and menu caption.

Declaration
public Status(Color color, string text, string menuCaption)
Parameters
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.

Status(Color, string, string, C1Brush)

Creates the new custom Status object with specified parameters.

Declaration
public Status(Color color, string text, string menuCaption, C1Brush brush)
Parameters
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.

Status(SerializationInfo, StreamingContext)

Special constructor for deserialization.

Declaration
protected Status(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The SerializationInfo.

StreamingContext context

The context information.