Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Views Namespace / TargetViewAttribute Class / TargetViewAttribute Constructor
The type of the view for which the theme applies.


    TargetViewAttribute Constructor
    Initializes a new instance of the TargetViewAttribute class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal viewType As Type _
    )
     
    'Usage
     
    Dim viewType As Type
     
    Dim instance As New TargetViewAttribute(viewType)

    Parameters

    viewType
    The type of the view for which the theme applies.
    Remarks
    The TargetView attribute must be used when creating a custom theme in order to identify the views for which the theme applies.
    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