Xceed Toolkit Plus for WPF v4.6 Documentation
OnCoerceResizeMode Method (MessageBox)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > MessageBox Class : OnCoerceResizeMode Method
Called when the CloseButtonVisibility value is being re-evaluated, or coercion is specifically requested
Syntax
'Declaration
 
Protected Overrides Function OnCoerceResizeMode( _
   ByVal newValue As ResizeMode _
) As Object
'Usage
 
Dim instance As MessageBox
Dim newValue As ResizeMode
Dim value As Object
 
value = instance.OnCoerceResizeMode(newValue)
protected override object OnCoerceResizeMode( 
   ResizeMode newValue
)

Parameters

newValue
Requirements

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

See Also

Reference

MessageBox Class
MessageBox Members
Base Implementation in OnCoerceResizeMode