Xceed Grid for WinForms v4.3 Documentation
BackgroundImageAlignment Property (VisualGridElementReportStyle)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Reporting Namespace > VisualGridElementReportStyle Class : BackgroundImageAlignment Property
Gets or sets the alignment of the grid element's BackgroundImage when it is printed in a report.
Syntax
'Declaration
 
<DescriptionAttribute("The alignment of the report element's background image when the report is printed.")>
<CategoryAttribute("Appearance")>
<LocalizableAttribute(True)>
<EndUserDisplayNameAttribute("Background Image Alignment")>
Public Property BackgroundImageAlignment As ContentAlignment
'Usage
 
Dim instance As VisualGridElementReportStyle
Dim value As ContentAlignment
 
instance.BackgroundImageAlignment = value
 
value = instance.BackgroundImageAlignment
[Description("The alignment of the report element's background image when the report is printed.")]
[Category("Appearance")]
[Localizable(true)]
[EndUserDisplayName("Background Image Alignment")]
public ContentAlignment BackgroundImageAlignment {get; set;}

Property Value

A System.Drawing.ContentAlignment value representing the alignment of the grid element's BackgroundImage when it is printed in a report. ContentAlignment.TopLeft.
Remarks

The value of the BackgroundImageAlignment 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

VisualGridElementReportStyle Class
VisualGridElementReportStyle Members