Skip to content

Show Method (10)

Show (1 of 10)

Summary

Shows a MessageBox with just a text

Signature

1
public static MessageBoxResult Show(string messageBoxText)

Parameters

Name Type Description
messageBoxText string The text that will be displayed on MessageBox

Return Value

MessageBoxResult

Declaring Type

cAlgo.API.MessageBox

Show (2 of 10)

Summary

Shows a MessageBox with text and caption / title

Signature

1
public static MessageBoxResult Show(string messageBoxText, string caption)

Parameters

Name Type Description
messageBoxText string The text that will be displayed on MessageBox
caption string The caption that will be displayed on MessageBox tile bar

Return Value

MessageBoxResult

Declaring Type

cAlgo.API.MessageBox

Show (3 of 10)

Summary

Shows a MessageBox with text, caption / title, and button

Signature

1
public static MessageBoxResult Show(string messageBoxText, string caption, MessageBoxButton button)

Parameters

Name Type Description
messageBoxText string The text that will be displayed on MessageBox
caption string The caption that will be displayed on MessageBox tile bar
button MessageBoxButton The button that will be displayed on MessageBox

Return Value

MessageBoxResult

Declaring Type

cAlgo.API.MessageBox

Show (4 of 10)

Summary

Shows a MessageBox with text, caption / title, button, and an image icon

Signature

1
public static MessageBoxResult Show(string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon)

Parameters

Name Type Description
messageBoxText string The text that will be displayed on MessageBox
caption string The caption that will be displayed on MessageBox tile bar
button MessageBoxButton The button that will be displayed on MessageBox
icon MessageBoxImage The icon that will be displayed on MessageBox

Return Value

MessageBoxResult

Declaring Type

cAlgo.API.MessageBox

Show (5 of 10)

Summary

Shows a MessageBox with text, caption / title, button, icon, and a default result

Signature

1
public static MessageBoxResult Show(string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult)

Parameters

Name Type Description
messageBoxText string The text that will be displayed on MessageBox
caption string The caption that will be displayed on MessageBox tile bar
button MessageBoxButton The button that will be displayed on MessageBox
icon MessageBoxImage The icon that will be displayed on MessageBox
defaultResult MessageBoxResult The MessageBox default result

Return Value

MessageBoxResult

Declaring Type

cAlgo.API.MessageBox

Show (6 of 10)

Summary

Shows a MessageBox with text that is a child of another window

Signature

1
public static MessageBoxResult Show(Window owner, string messageBoxText)

Parameters

Name Type Description
owner Window The window that owns the MessageBox
messageBoxText string The text that will be displayed on MessageBox

Return Value

MessageBoxResult

Declaring Type

cAlgo.API.MessageBox

Show (7 of 10)

Summary

Shows a MessageBox with text, and caption / title that is a child of another window

Signature

1
public static MessageBoxResult Show(Window owner, string messageBoxText, string caption)

Parameters

Name Type Description
owner Window The window that owns the MessageBox
messageBoxText string The text that will be displayed on MessageBox
caption string The caption that will be displayed on MessageBox tile bar

Return Value

MessageBoxResult

Declaring Type

cAlgo.API.MessageBox

Show (8 of 10)

Summary

Shows a MessageBox with text, caption / title, and button that is a child of another window

Signature

1
public static MessageBoxResult Show(Window owner, string messageBoxText, string caption, MessageBoxButton button)

Parameters

Name Type Description
owner Window The window that owns the MessageBox
messageBoxText string The text that will be displayed on MessageBox
caption string The caption that will be displayed on MessageBox tile bar
button MessageBoxButton The button that will be displayed on MessageBox

Return Value

MessageBoxResult

Declaring Type

cAlgo.API.MessageBox

Show (9 of 10)

Summary

Shows a MessageBox with text, caption / title, button, and image icon that is a child of another window

Signature

1
public static MessageBoxResult Show(Window owner, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon)

Parameters

Name Type Description
owner Window The window that owns the MessageBox
messageBoxText string The text that will be displayed on MessageBox
caption string The caption that will be displayed on MessageBox tile bar
button MessageBoxButton The button that will be displayed on MessageBox
icon MessageBoxImage The icon that will be displayed on MessageBox

Return Value

MessageBoxResult

Declaring Type

cAlgo.API.MessageBox

Show (10 of 10)

Summary

Shows a MessageBox with text, caption / title, button, icon, and a default result that is a child of another window

Signature

1
public static MessageBoxResult Show(Window owner, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult)

Parameters

Name Type Description
owner Window The window that owns the MessageBox
messageBoxText string The text that will be displayed on MessageBox
caption string The caption that will be displayed on MessageBox tile bar
button MessageBoxButton The button that will be displayed on MessageBox
icon MessageBoxImage The icon that will be displayed on MessageBox
defaultResult MessageBoxResult The MessageBox default result

Return Value

MessageBoxResult

Declaring Type

cAlgo.API.MessageBox


Last update: July 1, 2022

Comments