Skip to content

T_DataTools_MessageBoxEx_MessageBoxExButton

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

MessageBoxExButton Class

Class that represents a button on the dialog box.

Inheritance Hierarchy

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

Syntax

C#

public class MessageBoxExButton

VB

Public Class MessageBoxExButton

The MessageBoxExButton type exposes the following members.

Constructors

 

Name Description
Public method MessageBoxExButton() Create a new empty button.
Public method MessageBoxExButton(String, MessageBoxExResult, Boolean) Create a new standard button.
Public method MessageBoxExButton(String, Object, Boolean) Create a new custom button with a custom result value.
Public method MessageBoxExButton(String, MessageBoxExResult, Bitmap, Boolean) Create a new standard button with an image.
Public method MessageBoxExButton(String, Object, Bitmap, Boolean) Create a new custom button with an image.
  Back to Top

Properties

 

Name Description
Public property CustomResult Custom result
Public property DropDownMenuButtons Collection of buttons for a drop-down menu.
Public property DropDownPlacement Sets the placement for the drop-down menu.
Public property Image Specifies the custom icon to display.
Public property IsDefault Marks this button as default. Note, if there is more than one default button set, the first one wins.
Public property Message Button text
Public property Result MessageBox result
  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