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


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > StatelessVisualGridElementStyle Class : BackgroundImageAlignment Property
Gets or sets the alignment of the grid element's background image.
Syntax
'Declaration
 
<DescriptionAttribute("The alignment of the grid element's background image that will be used when the style is applied.")>
<CategoryAttribute("Appearance")>
<AmbientValueAttribute(Mono.Cecil.CustomAttributeArgument)>
<LocalizableAttribute(True)>
<ApplyToDesignerAttribute(True)>
Public Property BackgroundImageAlignment As ContentAlignment
'Usage
 
Dim instance As StatelessVisualGridElementStyle
Dim value As ContentAlignment
 
instance.BackgroundImageAlignment = value
 
value = instance.BackgroundImageAlignment
[Description("The alignment of the grid element's background image that will be used when the style is applied.")]
[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 element's background image.
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

StatelessVisualGridElementStyle Class
StatelessVisualGridElementStyle Members