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


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > MessageBox Class : OnCoerceCloseButtonVisibility Method
Called when the CloseButtonVisibility value is being re-evaluated, or coercion is specifically requested
Syntax
'Declaration
 
Protected Overrides Function OnCoerceCloseButtonVisibility( _

   ByVal newValue As Visibility _

) As Object
'Usage
 
Dim instance As MessageBox

Dim newValue As Visibility

Dim value As Object

 

value = instance.OnCoerceCloseButtonVisibility(newValue)
protected override object OnCoerceCloseButtonVisibility( 

   Visibility 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 OnCoerceCloseButtonVisibility