Class Office2016StyleMessageBoxAdv
Class for Office2016StyleMessageBoxAdv.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class Office2016StyleMessageBoxAdv : MetroForm, IMessageFilter
Constructors
Office2016StyleMessageBoxAdv()
Initializes the new instance for Office2016StyleMessageBoxAdv class.
Declaration
public Office2016StyleMessageBoxAdv()
Office2016StyleMessageBoxAdv(IWin32Window, String, String, String[], MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, Boolean, CancelEventHandler, Image, Size, Office2016Theme)
Declaration
public Office2016StyleMessageBoxAdv(IWin32Window owner, string text, string caption, string[] buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, bool bShowHelpButton, CancelEventHandler helpButtonClickHandler, Image image, Size sizeImage, Office2016Theme theme)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.IWin32Window | owner | |
| System.String | text | |
| System.String | caption | |
| System.String[] | buttons | |
| System.Windows.Forms.MessageBoxIcon | icon | |
| System.Windows.Forms.MessageBoxDefaultButton | defaultButton | |
| System.Windows.Forms.MessageBoxOptions | options | |
| System.Boolean | bShowHelpButton | |
| System.ComponentModel.CancelEventHandler | helpButtonClickHandler | |
| System.Drawing.Image | image | |
| System.Drawing.Size | sizeImage | |
| Office2016Theme | theme |
Office2016StyleMessageBoxAdv(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, Boolean, CancelEventHandler)
Initializes the new instance for Office2013StyleMessageBoxAdv.
Declaration
public Office2016StyleMessageBoxAdv(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, bool bShowHelpButton, CancelEventHandler helpButtonClickHandler)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.IWin32Window | owner | owner window |
| System.String | text | text |
| System.String | caption | form caption |
| System.Windows.Forms.MessageBoxButtons | buttons | buttons |
| System.Windows.Forms.MessageBoxIcon | icon | form icon |
| System.Windows.Forms.MessageBoxDefaultButton | defaultButton | default button |
| System.Windows.Forms.MessageBoxOptions | options | options |
| System.Boolean | bShowHelpButton | to show helpbutton |
| System.ComponentModel.CancelEventHandler | helpButtonClickHandler | click event data |
Office2016StyleMessageBoxAdv(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, Boolean, CancelEventHandler, Image, Size)
Initializes the new instance for Office2016StyleMessageBoxAdv.
Declaration
public Office2016StyleMessageBoxAdv(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, bool bShowHelpButton, CancelEventHandler helpButtonClickHandler, Image image, Size sizeImage)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.IWin32Window | owner | owner window |
| System.String | text | text |
| System.String | caption | form caption |
| System.Windows.Forms.MessageBoxButtons | buttons | buttons |
| System.Windows.Forms.MessageBoxIcon | icon | form icon |
| System.Windows.Forms.MessageBoxDefaultButton | defaultButton | default button |
| System.Windows.Forms.MessageBoxOptions | options | options |
| System.Boolean | bShowHelpButton | to show helpbutton |
| System.ComponentModel.CancelEventHandler | helpButtonClickHandler | click event data |
| System.Drawing.Image | image | image |
| System.Drawing.Size | sizeImage | sizing image |
Fields
m_abort
Variable for abort ButtonAdv
Declaration
public ButtonAdv m_abort
Field Value
| Type |
|---|
| ButtonAdv |
m_cancel
Variable for cancel ButtonAdv
Declaration
public ButtonAdv m_cancel
Field Value
| Type |
|---|
| ButtonAdv |
m_ignore
Variable for ignore ButtonAdv
Declaration
public ButtonAdv m_ignore
Field Value
| Type |
|---|
| ButtonAdv |
m_no
Variable for no ButtonAdv
Declaration
public ButtonAdv m_no
Field Value
| Type |
|---|
| ButtonAdv |
m_retry
Variable for retry ButtonAdv
Declaration
public ButtonAdv m_retry
Field Value
| Type |
|---|
| ButtonAdv |
m_yes
Variable for yes ButtonAdv
Declaration
public ButtonAdv m_yes
Field Value
| Type |
|---|
| ButtonAdv |
Properties
Office2016Theme
Gets or sets the Office2016 color theme.
Declaration
public Office2016Theme Office2016Theme { get; set; }
Property Value
| Type |
|---|
| Office2016Theme |
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | True if managed resources should be disposed; otherwise, false. |
Overrides
OnFormClosing(FormClosingEventArgs)
Raises the System.Windows.Forms.Control.OnClosing event.
Declaration
protected override void OnFormClosing(FormClosingEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.FormClosingEventArgs | e | An System.EventArgs that contains the event data. |
OnHandleCreated(EventArgs)
Raises the System.Windows.Forms.Control.HandleCreated event.
Declaration
protected override void OnHandleCreated(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.EventArgs | e | An System.EventArgs that contains the event data. |
Overrides
OnHandleDestroyed(EventArgs)
Raises the System.Windows.Forms.Control.HandleDestroyed event.
Declaration
protected override void OnHandleDestroyed(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.EventArgs | e | An System.EventArgs that contains the event data. |
OnHelpButtonClicked(CancelEventArgs)
Raises the System.Windows.Forms.Control.OnHelpButtonClicked event.
Declaration
protected override void OnHelpButtonClicked(CancelEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ComponentModel.CancelEventArgs | e | An System.EventArgs that contains the event data. |
OnResize(EventArgs)
Declaration
protected override void OnResize(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.EventArgs | e |