Represents a message box that has a message and that returns a result.
The following example shows how to use a MessageBox and a ChildWindow.
<xctk:WindowContainer>
<xctk:ChildWindow WindowBackground="Blue"
Left="75"
Top="50"
Width="275"
Height="125"
WindowState="Open">
<TextBlock Text="This is a Child Window" Padding="10"/>
</xctk:ChildWindow>
<xctk:ChildWindow WindowBackground="Green"
Left="175"
Top="125"
Width="275"
Height="125"
WindowState="Open">
<TextBlock Text="This is another Child Window" Padding="10"/>
</xctk:ChildWindow>
<xctk:MessageBox Caption="MessageBox"
Text="This is a MessageBox"/>
</xctk:WindowContainer>
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2