Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SFLegendLabelStyle

    Show / Hide Table of Contents

    Class SFLegendLabelStyle

    This class is used to customize the appearance of label displayed in the legend.

    Inheritance
    System.Object
    SFLegendLabelStyle
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.MacOS.Charts.SfChart
    Assembly: Syncfusion.SfChart.XForms.macOS.dll
    Syntax
    public class SFLegendLabelStyle : Object, INotifyPropertyChanged

    Constructors

    SFLegendLabelStyle()

    Declaration
    public SFLegendLabelStyle()

    Properties

    Color

    Gets or sets the foreground color for the legend labels.

    Declaration
    public NSColor Color { get; set; }
    Property Value
    Type Description
    AppKit.NSColor

    Font

    Gets or sets the font style for the legend labels.

    Declaration
    public NSFont Font { get; set; }
    Property Value
    Type Description
    AppKit.NSFont

    Margin

    Gets or sets the distance insets for the legend labels from the border.

    Declaration
    public NSEdgeInsets Margin { get; set; }
    Property Value
    Type Description
    AppKit.NSEdgeInsets

    Methods

    OnPropertyChanged(String)

    Declaration
    protected virtual void OnPropertyChanged(string propertyName = null)
    Parameters
    Type Name Description
    System.String propertyName

    Events

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved