Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / MessageBox Class / OnCoerceWindowStyle Method


In This Topic
    OnCoerceWindowStyle Method (MessageBox)
    In This Topic
    Called when the CloseButtonVisibility value is being re-evaluated, or coercion is specifically requested
    Syntax
    'Declaration
     
    Protected Overrides Function OnCoerceWindowStyle( _
       ByVal newValue As WindowStyle _
    ) As Object
    'Usage
     
    Dim instance As MessageBox
    Dim newValue As WindowStyle
    Dim value As Object
     
    value = instance.OnCoerceWindowStyle(newValue)
    protected override object OnCoerceWindowStyle( 
       WindowStyle 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