Skip to content

T_DataTools_MessageBoxEx_MessageBoxExConfig

Nathan Moschkin edited this page Aug 22, 2020 · 4 revisions

MessageBoxExConfig Class

Configuration object to be passed to MessageBoxEx.Show() containing parameters and customization options for the dialog box.

Inheritance Hierarchy

System.Object
  DataTools.MessageBoxEx.MessageBoxExConfig
Namespace: DataTools.MessageBoxEx
Assembly: MessageBoxEx (in MessageBoxEx.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public class MessageBoxExConfig

VB

Public Class MessageBoxExConfig

The MessageBoxExConfig type exposes the following members.

Constructors

 

Name Description
Public method MessageBoxExConfig Initializes a new instance of the MessageBoxExConfig class
  Back to Top

Properties

 

Name Description
Public property AlwaysOnTop Sets a value indicating that the dialog box shall be the top-most window on the desktop until it is dismissed.
Public property CustomButtons List of custom buttons. Default buttons arae only displayed if this list is empty.
Public property CustomIcon Specifies the custom icon to display.
Public property CustomResult The custom result of the button that was pressed.
Public property Dismissed Indicates that the box was dismissed without the user clicking any button (either by navigating to a URL or closing the window with the X.)
Public property Icon Specifies the icon displayed to the left of the message, in the message box.
Public property Message Specifies the message to be displayed.
Public property MessageBoxType Specifies the message box type.
Public property MuteSound Specifies whether to mute alert sounds.
Public property OptionMode The mode of the option text. Default is checkbox. In Url mode the OptionText can be any file or process that you have permission to start.
Public property OptionResult The state of the checkbox when the dialog box was closed.
Public property OptionText Toggle option text. If this text is not null, either a URL or a check box will be displayed. The state of the toggle when the dialog closes can be found in the OptionResult property. In URL mode this can be any file or process that you have permission to start.
Public property OptionTextUrl The URL linked to the option text.
Public property SoundIcon Play a custom sound when the dialog box opens, regardless of the default sound for the selected icon.
Public property Title Specifies the title of the dialog box.
Public property UrlClickDismiss Specify whether or not clicking the Url dismisses the dialog box. The default result will be returned.
  Back to Top

Methods

 

Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

DataTools.MessageBoxEx Namespace

Clone this wiki locally