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


Xceed.Grid.Reporting.v4.3 Assembly > Xceed.Grid.Reporting Namespace > HeaderFooter Class : TopMargin Property
Gets or sets the height of the header or footer section's top margin, in hundredths of an inch.
Syntax
'Declaration
 
<DescriptionAttribute("The height of the header or footer section's top margin, in hundredths of an inch.")>

<CategoryAttribute("Appearance")>

<DefaultValueAttribute(0)>

<LocalizableAttribute(True)>

<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")>

Public Property TopMargin As Integer
'Usage
 
Dim instance As HeaderFooter

Dim value As Integer

 

instance.TopMargin = value

 

value = instance.TopMargin
[Description("The height of the header or footer section's top margin, in hundredths of an inch.")]

[Category("Appearance")]

[DefaultValue(0)]

[Localizable(true)]

[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")]

public int TopMargin {get; set;}

Property Value

A value representing the height of the header or footer section's top margin, in hundredths of an inch. By default, 0.
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

HeaderFooter Class
HeaderFooter Members