Xceed Grid for WinForms v4.3 Documentation
Xceed.UI.v1.4 Assembly / Xceed.UI Namespace / Margins Structure
Members


In This Topic
    Margins Structure
    In This Topic
    A structure representing margins.
    Syntax
    'Declaration
     
    <TypeConverterAttribute(Xceed.UI.Design.MarginsConverter)>
    Public Structure Margins 
       Inherits System.ValueType
    'Usage
     
    Dim instance As Margins
    [TypeConverter(Xceed.UI.Design.MarginsConverter)]
    public struct Margins : System.ValueType 
    Inheritance Hierarchy

    System.Object
       System.ValueType
          Xceed.UI.Margins

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Gets an empty Margins structure  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the height, in pixels, of the bottom margin.  
    Public PropertyGets a boolean value indicating if the margins are empty.  
    Public PropertyGets or sets the width, in pixels, of the left margin.  
    Public PropertyGets or sets the width, in pixels, of the right margin.  
    Public PropertyGets or sets the height, in pixels, of the top margin.  
    Top
    Public Methods
     NameDescription
    Public MethodAdds the specified margins to the current Margins structure.  
    Public MethodTests whether the specified object is a Margins structure and is equivalent to this Margins structure.  
    Public MethodReturns a hash code for this Margins structure.  
    Public MethodThis method is reserved for internal use and is not intended to be used directly from your code.  
    Public MethodThis method either rotates, flips, or rotates and flips the Margins structure.  
    Public MethodSubtracts the specified margins from the current Margins structure.  
    Top
    Public Operators
    Adds the specified Margins structures.
    Indicates whether two Margins instances are equal.
    Indicates whether two Margins instances are not equal.
    Subtracts the specified Margins structures.
    Top
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also