[Root] / Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Views Namespace / Theme Class / IsViewSupported Method / IsViewSupported(Type,Type) Method

The type of the view to query

The type of the theme that will be used when the view is queried.



In This Topic
    IsViewSupported(Type,Type) Method
    In This Topic
    Retrieves a value indicating whether the specified view type is supported by the theme.
    Syntax
    'Declaration
     
    Public Overloads Shared Function IsViewSupported( _
       ByVal viewType As Type, _
       ByVal themeType As Type _
    ) As Boolean
    'Usage
     
    Dim viewType As Type
    Dim themeType As Type
    Dim value As Boolean
     
    value = Theme.IsViewSupported(viewType, themeType)
    public static bool IsViewSupported( 
       Type viewType,
       Type themeType
    )

    Parameters

    viewType

    The type of the view to query

    themeType

    The type of the theme that will be used when the view is queried.

    Return Value

    true if the view type is supported; false otherwise.

    Supported Frameworks

    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