'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.25208.5768,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.25208.5768,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