Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / VisualGridElement Class / BackgroundImageAlignment Property


    BackgroundImageAlignment Property (VisualGridElement)
    Gets or sets the alignment of the grid element's background image.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The alignment of the grid element's background image.")>
    <CategoryAttribute("Appearance")>
    <AmbientValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <LocalizableAttribute(True)>
    <ApplyToDesignerAttribute(True)>
    Public Property BackgroundImageAlignment As ContentAlignment
     
    'Usage
     
    Dim instance As VisualGridElement
    Dim value As ContentAlignment
     
    instance.BackgroundImageAlignment = value
     
    value = instance.BackgroundImageAlignment

    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