Class MessageBox
Information about the message box to show
Inherited Members
Namespace: DuetAPI.ObjectModel
Assembly: DuetAPI.dll
Syntax
public sealed class MessageBox : ModelObject, IModelObject, ICloneable, INotifyPropertyChanged, INotifyPropertyChanging
Properties
AxisControls
Bitmap of the axis movement controls to show (indices)
Declaration
public long? AxisControls { get; set; }
Property Value
Type | Description |
---|---|
long? |
CancelButton
Indicates if a cancel button is supposed to be shown
Declaration
public bool CancelButton { get; set; }
Property Value
Type | Description |
---|---|
bool |
Choices
List of possible choices (only for mode 4)
Declaration
public ModelCollection<string>? Choices { get; set; }
Property Value
Type | Description |
---|---|
ModelCollection<string> |
Default
Default value (only for modes >= 4)
Declaration
public object? Default { get; set; }
Property Value
Type | Description |
---|---|
object |
Max
Maximum input value (only for modes >= 5)
Declaration
public float? Max { get; set; }
Property Value
Type | Description |
---|---|
float? |
Message
Content of the message box
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string |
Min
Minimum input value (only for modes >= 5)
Declaration
public float? Min { get; set; }
Property Value
Type | Description |
---|---|
float? |
Mode
Mode of the message box to display
Declaration
public MessageBoxMode Mode { get; set; }
Property Value
Type | Description |
---|---|
MessageBoxMode |
Seq
Sequence number of the message box
Declaration
public int Seq { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
This is increased whenever a new message box is supposed to be displayed
Timeout
Total timeout for this message box (in ms)
Declaration
public int Timeout { get; set; }
Property Value
Type | Description |
---|---|
int |
Title
Title of the message box
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string |