The C1MessageBoxContent type exposes the following members.

Constructors

  Name Description
Public method C1MessageBoxContent
Initializes a new instance of a C1MessageBoxContent.

Methods

  Name Description
Protected method ChangeVisualStateCommon
Updates the current visual state of the Common visual state group to match the object's properties.
Protected method ChangeVisualStateIcon
Updates the current visual state of the Icon visual state group to match the object's properties.
Public method OnApplyTemplate
Builds the visual tree for the C1MessageBoxContent control when a new template is applied.
(Overrides FrameworkElement..::..OnApplyTemplate()()()().)
Protected method OnPropertyChanged
Invoked whenever the effective value of any dependency property has been updated.
(Overrides FrameworkElement..::..OnPropertyChanged(DependencyPropertyChangedEventArgs).)

Fields

  Name Description
Public field Static member ButtonProperty
Identifies the Button dependency property.
Public field Static member ButtonStyleProperty
Identifies the ButtonStyle dependency property.
Public field Static member CancelTextProperty
Identifies the CancelText dependency property.
Public field Static member IconProperty
Identifies the Icon dependency property.
Public field Static member MessageProperty
Identifies the Message dependency property.
Public field Static member NoTextProperty
Identifies the NoText dependency property.
Public field Static member OKTextProperty
Identifies the OKText dependency property.
Public field Static member YesTextProperty
Identifies the YesText dependency property.

Properties

  Name Description
Public property Button
Gets or sets a C1MessageBoxButton specifying which buttons are displayed in the message box.
Public property ButtonStyle
Gets or sets the style applied to the message box's buttons.
Public property CancelText
Gets or sets the text displayed in the Cancel button.
Public property Dispatcher
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.)
Public property Icon
Gets or sets a C1MessageBoxIcon specifying which icon is displayed in the message box.
Public property Message
Gets or sets the message text displayed in the message box.
Public property NoText
Gets or sets the text displayed in the No button.
Public property OKText
Gets or sets the text displayed in the OK button.
Public property YesText
Gets or sets the text displayed in the Yes button.

Events

  Name Description
Public event ButtonClick
Event fired when a button is pressed.
Public event IsMouseOverChanged
Event raised when the [P:IsMouseOver] property has changed.

See Also