Class VisualStyleMessageBoxAdv
Class for VisualStyle based theme.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class VisualStyleMessageBoxAdv : MetroForm, IMessageFilter
Constructors
VisualStyleMessageBoxAdv()
Declaration
public VisualStyleMessageBoxAdv()
VisualStyleMessageBoxAdv(IWin32Window, String, String, String[], MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, Boolean, CancelEventHandler, Image, Size)
Declaration
public VisualStyleMessageBoxAdv(IWin32Window owner, string text, string caption, string[] buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, bool bShowHelpButton, CancelEventHandler helpButtonClickHandler, Image image, Size sizeImage)
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 |
VisualStyleMessageBoxAdv(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, Boolean, CancelEventHandler)
Initializes the new instance for VisualStyleMessageBoxAdv.
Declaration
public VisualStyleMessageBoxAdv(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 |
VisualStyleMessageBoxAdv(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, Boolean, CancelEventHandler, Image, Size)
Initializes the new instance for Office2016StyleMessageBoxAdv.
Declaration
public VisualStyleMessageBoxAdv(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 |
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
OnClosing(CancelEventArgs)
Raises the System.Windows.Forms.Control.OnClosing event.
Declaration
protected override void OnClosing(CancelEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.CancelEventArgs | 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 |
PreFilterMessage(ref Message)
Declaration
public bool PreFilterMessage(ref Message m)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Message | m |
Returns
Type |
---|
System.Boolean |