2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / Legend Class / ShouldSerializeLocationDefault Method

In This Topic
    ShouldSerializeLocationDefault Method (Legend)
    In This Topic
    Returns false if the Legend LocationDefault property is in the default state.
    Syntax
    'Declaration
     
    Public Function ShouldSerializeLocationDefault() As System.Boolean
    public System.bool ShouldSerializeLocationDefault()

    Return Value

    True if the LocationDefault has no default value; otherwise, it is false.
    Remarks
    The default state is LocationDefault.Width = -1, LocationDefault.Height = -1, which results in automatic location of the Legend.
    See Also