Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Chart Namespace / LegendItem Class / LegendItem Constructor
Legend item text.
Legend item area title.
Legend item series title.
Legend item interior brush.


In This Topic
    LegendItem Constructor
    In This Topic
    Initializes a new instance of the LegendItem class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal text As String, _
       ByVal areaTitle As String, _
       ByVal seriesTitle As String, _
       ByVal interiorBrush As Brush _
    )
    'Usage
     
    Dim text As String
    Dim areaTitle As String
    Dim seriesTitle As String
    Dim interiorBrush As Brush
     
    Dim instance As New LegendItem(text, areaTitle, seriesTitle, interiorBrush)
    public LegendItem( 
       string text,
       string areaTitle,
       string seriesTitle,
       Brush interiorBrush
    )

    Parameters

    text
    Legend item text.
    areaTitle
    Legend item area title.
    seriesTitle
    Legend item series title.
    interiorBrush
    Legend item interior brush.
    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