menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Margin - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Margin

    Class implementation for Margin

    Inheritance
    System.Object
    Margin
    Namespace: Com.Syncfusion.Treemap
    Assembly: Syncfusion.SfTreeMap.Android.dll
    Syntax
    public class Margin : Object

    Constructors

    Margin(Double)

    Initializes a new instance of the Margin class.

    Declaration
    public Margin(double margin)
    Parameters
    Type Name Description
    System.Double margin

    To set margin

    Margin(Double, Double)

    Initializes a new instance of the Margin class.

    Declaration
    public Margin(double left, double top)
    Parameters
    Type Name Description
    System.Double left

    To set left

    System.Double top

    To set top

    Margin(Double, Double, Double, Double)

    Initializes a new instance of the Margin class.

    Declaration
    public Margin(double left, double top, double right, double bottom)
    Parameters
    Type Name Description
    System.Double left

    To set left

    System.Double top

    To set top

    System.Double right

    To set right

    System.Double bottom

    To set bottom

    Fields

    Bottom

    Gets or sets bottom margin

    Declaration
    public double Bottom
    Field Value
    Type
    System.Double

    Left

    Gets or sets left margin

    Declaration
    public double Left
    Field Value
    Type
    System.Double

    Right

    Gets or sets right margin

    Declaration
    public double Right
    Field Value
    Type
    System.Double

    Top

    Gets or sets top margin

    Declaration
    public double Top
    Field Value
    Type
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved