Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Panels Namespace / SwitchPanel Class / SetActiveSwitchTemplate Method
The new value for the property.


In This Topic
    SetActiveSwitchTemplate Method
    In This Topic
    Provides a secure method for setting the ActiveSwitchTemplate property. This dependency property indicates which switch template should be used by SwitchPresenter descendants.
    Syntax
    'Declaration
     
    Protected Sub SetActiveSwitchTemplate( _
       ByVal value As DataTemplate _
    ) 
    'Usage
     
    Dim instance As SwitchPanel
    Dim value As DataTemplate
     
    instance.SetActiveSwitchTemplate(value)
    protected void SetActiveSwitchTemplate( 
       DataTemplate value
    )

    Parameters

    value
    The new value for the property.
    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