Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Themes.FluentDesign Assembly / Xceed.Wpf.Themes.FluentDesign Namespace / ThemeFluentCommonResources Class / CreateResources Method


In This Topic
    CreateResources Method (ThemeFluentCommonResources)
    In This Topic
    Syntax
    'Declaration
     
    Public Shared Function CreateResources( _
       Optional ByVal darkMode As Boolean, _
       Optional ByVal accent As String _
    ) As ResourceDictionary
    'Usage
     
    Dim darkMode As Boolean
    Dim accent As String
    Dim value As ResourceDictionary
     
    value = ThemeFluentCommonResources.CreateResources(darkMode, accent)
    public static ResourceDictionary CreateResources( 
       bool darkMode,
       string accent
    )

    Parameters

    darkMode
    accent
    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