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


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridControl Class : BackgroundImageAlignment Property
Gets or sets the alignment of the grid's background image.
Syntax
'Declaration
 
<DescriptionAttribute("The alignment of the grid's background image.")>
<CategoryAttribute("Appearance")>
<AmbientValueAttribute(Mono.Cecil.CustomAttributeArgument)>
<LocalizableAttribute(True)>
<ApplyToDesignerAttribute(True)>
Public Property BackgroundImageAlignment As ContentAlignment
'Usage
 
Dim instance As GridControl
Dim value As ContentAlignment
 
instance.BackgroundImageAlignment = value
 
value = instance.BackgroundImageAlignment
[Description("The alignment of the grid's background image.")]
[Category("Appearance")]
[AmbientValue(Mono.Cecil.CustomAttributeArgument)]
[Localizable(true)]
[ApplyToDesigner(true)]
public ContentAlignment BackgroundImageAlignment {get; set;}

Property Value

A System.Drawing.ContentAlignment value indicating the alignment of the grid's background image.
Remarks

This property is only taken into consideration if BackgroundImageStyle is set to ImageStyle.Align.

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

GridControl Class
GridControl Members