Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / MessageBox Class / ChangeVisualState(String,Boolean) Method
A string representing the name of the state.
A value indicating whether state transitions should be used.


In This Topic
    ChangeVisualState(String,Boolean) Method
    In This Topic
    Changes the control's visual states.
    Syntax
    'Declaration
     
    Protected Sub ChangeVisualState( _
       ByVal name As String, _
       ByVal useTransitions As Boolean _
    ) 
    'Usage
     
    Dim instance As MessageBox
    Dim name As String
    Dim useTransitions As Boolean
     
    instance.ChangeVisualState(name, useTransitions)
    protected void ChangeVisualState( 
       string name,
       bool useTransitions
    )

    Parameters

    name
    A string representing the name of the state.
    useTransitions
    A value indicating whether state transitions should be used.
    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