menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LegendSetting - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LegendSetting

    Initializes a new instance of the LegendSetting class.

    Inheritance
    System.Object
    LegendSetting
    Namespace: Syncfusion.UI.Xaml.Maps
    Assembly: Syncfusion.SfMaps.UWP.dll
    Syntax
    public class LegendSetting : DependencyObject

    Constructors

    LegendSetting()

    Initializes a new instance of the LegendSetting class.

    Declaration
    public LegendSetting()

    Fields

    FontFamilyProperty

    Using a DependencyProperty as the backing store for FontFamily. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty FontFamilyProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    FontSizeProperty

    Using a DependencyProperty as the backing store for LabelFontSize. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty FontSizeProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    FontStyleProperty

    Using a DependencyProperty as the backing store for FontStyle. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty FontStyleProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    ForegroundProperty

    Using a DependencyProperty as the backing store for Foreground. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ForegroundProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    HorizontalAlignmentProperty

    Using a DependencyProperty as the backing store for HorizontalAlignment. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty HorizontalAlignmentProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    IconHeightProperty

    // Using a DependencyProperty as the backing store for LegendIconHeight. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty IconHeightProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    IconWidthProperty

    // Using a DependencyProperty as the backing store for IconWidth. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty IconWidthProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    IsWrappingProperty

    // Using a DependencyProperty as the backing store for IsWrapping. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty IsWrappingProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    ItemMarginProperty

    Using a DependencyProperty as the backing store for ItemMargin. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ItemMarginProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    VerticalAlignmentProperty

    Using a DependencyProperty as the backing store for VerticalAlignment. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty VerticalAlignmentProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    FontFamily

    Gets or sets the font family of the Legend Label.

    Declaration
    public FontFamily FontFamily { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Media.FontFamily

    FontSize

    Gets or sets the font size value. This property is used to change the text size of the legend label.

    Declaration
    public double FontSize { get; set; }
    Property Value
    Type
    System.Double

    FontStyle

    Gets or sets the font style of the Legend Label.

    Declaration
    public FontStyle FontStyle { get; set; }
    Property Value
    Type
    Windows.UI.Text.FontStyle

    Foreground

    Gets or sets a value for legend foreground.

    Declaration
    public Brush Foreground { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Media.Brush

    HorizontalAlignment

    Gets or sets the horizontal alignment. This property is used for the horizontal alignment of legends.

    Declaration
    public HorizontalAlignment HorizontalAlignment { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.HorizontalAlignment

    IconHeight

    Gets or Sets IconHeight

    Declaration
    public double IconHeight { get; set; }
    Property Value
    Type
    System.Double

    IconWidth

    Gets or Sets IconWidth

    Declaration
    public double IconWidth { get; set; }
    Property Value
    Type
    System.Double

    IsWrapping

    Gets or sets a value indicating whether the wrapping is enabled or not.

    Declaration
    public bool IsWrapping { get; set; }
    Property Value
    Type
    System.Boolean

    ItemMargin

    Gets or sets the items margin. This property is used to set spacing between the legend items.

    Declaration
    public Thickness ItemMargin { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Thickness

    VerticalAlignment

    Gets or sets the vertical alignment. This property is used for the vertical alignment of legends.

    Declaration
    public VerticalAlignment VerticalAlignment { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.VerticalAlignment

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved