Xceed Grid for WinForms v4.3 Documentation
HorizontalAlignment Property (GridElementReportStyle)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Reporting Namespace > GridElementReportStyle Class : HorizontalAlignment Property
Gets or sets the horizontal alignment that the grid element will have when it is printed in a report.
Syntax
'Declaration
 
<DescriptionAttribute("The horizontal alignment of this report element's content when the report is printed.")>

<CategoryAttribute("Appearance")>

<LocalizableAttribute(True)>

<EndUserDisplayNameAttribute("Horizontal Alignment")>

Public Property HorizontalAlignment As HorizontalAlignment
'Usage
 
Dim instance As GridElementReportStyle

Dim value As HorizontalAlignment

 

instance.HorizontalAlignment = value

 

value = instance.HorizontalAlignment
[Description("The horizontal alignment of this report element's content when the report is printed.")]

[Category("Appearance")]

[Localizable(true)]

[EndUserDisplayName("Horizontal Alignment")]

public HorizontalAlignment HorizontalAlignment {get; set;}

Property Value

A Xceed.Grid.HorizontalAlignment value representing the horizontal alignment that the grid element will have when it is printed in a report. By default, HorizontalAlignment.Default.
Remarks

The value of the HorizontalAlignment property of the parent element's ReportStyle will be used in the case where the HorizontalAlignment property has not been explicitly set.

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

GridElementReportStyle Class
GridElementReportStyle Members