Xceed Grid for WinForms v4.3 Documentation
TopMargin Property (GridReportStyle)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Reporting Namespace > GridReportStyle Class : TopMargin Property
Gets or sets the height of the grid's top margin, in hundredths of an inch.
Syntax
'Declaration
 
<DescriptionAttribute("The height of the grid's top margin, in hundredths of an inch.")>
<CategoryAttribute("Appearance")>
<EditorAttribute("Xceed.Grid.Reporting.Design.UnitValueEditor, Xceed.Grid.v4.3,Version=4.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)>
<EndUserDisplayNameAttribute("Margin Above")>
<EndUserGlobalBrowsableAttribute(False)>
Public Shadows Property TopMargin As Integer
'Usage
 
Dim instance As GridReportStyle
Dim value As Integer
 
instance.TopMargin = value
 
value = instance.TopMargin
[Description("The height of the grid's top margin, in hundredths of an inch.")]
[Category("Appearance")]
[Editor("Xceed.Grid.Reporting.Design.UnitValueEditor, Xceed.Grid.v4.3,Version=4.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)]
[EndUserDisplayName("Margin Above")]
[EndUserGlobalBrowsable(false)]
public new int TopMargin {get; set;}

Property Value

A value representing the height of the grid's top margin, in hundredths of an inch. By default, DefaultTopMargin.
Remarks

To convert values from a specific Unit to hundredth's of an inch, and vice-versa, a UnitConverter can be used.

The value of the TopMargin property will not be inherited from its parent in the case where it has not been explicitly set (non-ambient).

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

Reference

GridReportStyle Class
GridReportStyle Members