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


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Primitives Namespace > WindowControl Class : OnCoerceCloseButtonVisibility(Visibility) Method
Called when the CloseButtonVisibility value is being re-evaluated, or coercion is specifically requested.
Syntax
'Declaration
 
Protected Overridable Function OnCoerceCloseButtonVisibility( _
   ByVal newValue As Visibility _
) As Object
'Usage
 
Dim instance As WindowControl
Dim newValue As Visibility
Dim value As Object
 
value = instance.OnCoerceCloseButtonVisibility(newValue)
protected virtual 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

WindowControl Class
WindowControl Members