WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Margins - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Margins

    Class allows to store Page Margins (integer values).

    Inheritance
    System.Object
    Margins
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.DLS
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public sealed class Margins

    Constructors

    Margins()

    Default constructor. Set all margins to 0.

    Declaration
    public Margins()

    Margins(Int32, Int32, Int32, Int32)

    Create margins with specified values

    Declaration
    public Margins(int left, int top, int right, int bottom)
    Parameters
    Type Name Description
    System.Int32 left

    Left margin

    System.Int32 top

    Top margin

    System.Int32 right

    Right margins

    System.Int32 bottom

    Bottom margin

    Properties

    All

    Allow to Get or Set value of all Margins on one call

    Declaration
    public int All { get; set; }
    Property Value
    Type Description
    System.Int32

    Bottom

    Bottom margin

    Declaration
    public int Bottom { get; set; }
    Property Value
    Type Description
    System.Int32

    Left

    Left mergin setting

    Declaration
    public int Left { get; set; }
    Property Value
    Type Description
    System.Int32

    Right

    Right margin

    Declaration
    public int Right { get; set; }
    Property Value
    Type Description
    System.Int32

    Top

    Top margin

    Declaration
    public int Top { get; set; }
    Property Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved