Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / StatelessVisualGridElementStyle Class / DefaultBackgroundImageAlignment Property


In This Topic
    DefaultBackgroundImageAlignment Property (StatelessVisualGridElementStyle)
    In This Topic
    Gets the default value of the BackgroundImageAlignment property.
    Syntax
    'Declaration
     
    Protected Overridable ReadOnly Property DefaultBackgroundImageAlignment As ContentAlignment
    'Usage
     
    Dim instance As StatelessVisualGridElementStyle
    Dim value As ContentAlignment
     
    value = instance.DefaultBackgroundImageAlignment
    protected virtual ContentAlignment DefaultBackgroundImageAlignment {get;}

    Property Value

    A value representing the default value of the BackgroundImageAlignment property. Unless overridden, System.Drawing.ContentAlignment.MiddleCenter.
    Remarks

    When overriding DefaultBackgroundImageAlignment in a derived class, the value returned by your implementation should not be dynamic.

    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