Search Results for

    Show / Hide Table of Contents

    Struct Legend.Default

    A simple struct that defines the default property values for the Legend class.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: ZedGraph
    Assembly: ZedGraph.dll
    Syntax
    public struct Default

    Fields

    | Improve this Doc View Source

    BorderColor

    The default color for the Legend border border. (Color property).

    Declaration
    public static Color BorderColor
    Field Value
    Type Description
    Color
    | Improve this Doc View Source

    BorderWidth

    The default pen width for the Legend border border. (Width property). Units are in pixels.

    Declaration
    public static float BorderWidth
    Field Value
    Type Description
    Single
    | Improve this Doc View Source

    FillBrush

    The default custom brush for filling in this Legend.

    Declaration
    public static Brush FillBrush
    Field Value
    Type Description
    Brush
    | Improve this Doc View Source

    FillColor

    The default color for the Legend background. (Color property). Use of this color depends on the status of the Type property.

    Declaration
    public static Color FillColor
    Field Value
    Type Description
    Color
    | Improve this Doc View Source

    FillType

    The default fill mode for the Legend background.

    Declaration
    public static FillType FillType
    Field Value
    Type Description
    FillType
    | Improve this Doc View Source

    FontBold

    The default font bold mode for the Legend entries (IsBold property). true for a bold typeface, false otherwise.

    Declaration
    public static bool FontBold
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    FontColor

    The default font color for the Legend entries (FontColor property).

    Declaration
    public static Color FontColor
    Field Value
    Type Description
    Color
    | Improve this Doc View Source

    FontFamily

    The default font family for the Legend entries (Family property).

    Declaration
    public static string FontFamily
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    FontFillBrush

    The default custom brush for filling in the scale text background (see Brush property).

    Declaration
    public static Brush FontFillBrush
    Field Value
    Type Description
    Brush
    | Improve this Doc View Source

    FontFillColor

    The default color for filling in the scale text background (see Color property).

    Declaration
    public static Color FontFillColor
    Field Value
    Type Description
    Color
    | Improve this Doc View Source

    FontFillType

    The default fill mode for filling in the scale text background (see Type property).

    Declaration
    public static FillType FontFillType
    Field Value
    Type Description
    FillType
    | Improve this Doc View Source

    FontItalic

    The default font italic mode for the Legend entries (IsItalic property). true for an italic typeface, false otherwise.

    Declaration
    public static bool FontItalic
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    FontSize

    The default font size for the Legend entries (Size property). Units are in points (1/72 inch).

    Declaration
    public static float FontSize
    Field Value
    Type Description
    Single
    | Improve this Doc View Source

    FontUnderline

    The default font underline mode for the Legend entries (IsUnderline property). true for an underlined typeface, false otherwise.

    Declaration
    public static bool FontUnderline
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Gap

    The default gap size between the legend and the Rect. This is the default value of Gap.

    Declaration
    public static float Gap
    Field Value
    Type Description
    Single
    | Improve this Doc View Source

    IsBorderVisible

    The default border mode for the Legend. (IsVisible property). true to draw a border around the Rect, false otherwise.

    Declaration
    public static bool IsBorderVisible
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsFilled

    The default fill mode for the Legend background (Type property). true to fill-in the background with color, false to leave the background transparent.

    Declaration
    public static bool IsFilled
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsHStack

    The default horizontal stacking mode for the Legend (IsHStack property). true to allow horizontal legend item stacking, false to allow only vertical legend orientation.

    Declaration
    public static bool IsHStack
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsReverse

    Default value for the IsReverse property.

    Declaration
    public static bool IsReverse
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsShowLegendSymbols

    Default value for the IsShowLegendSymbols property.

    Declaration
    public static bool IsShowLegendSymbols
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsVisible

    The default display mode for the Legend. (IsVisible property). true to show the legend, false to hide it.

    Declaration
    public static bool IsVisible
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Position

    The default location for the Legend on the graph (Location property). This property is defined as a LegendPos enumeration.

    Declaration
    public static LegendPos Position
    Field Value
    Type Description
    LegendPos
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX