Xceed Grid for WinForms v4.3 Documentation
DefaultHorizontalAlignment Property (GridElement)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridElement Class : DefaultHorizontalAlignment Property
Gets the default value of the HorizontalAlignment property.
Syntax
'Declaration
 
Protected Overridable ReadOnly Property DefaultHorizontalAlignment As HorizontalAlignment
'Usage
 
Dim instance As GridElement
Dim value As HorizontalAlignment
 
value = instance.DefaultHorizontalAlignment
protected virtual HorizontalAlignment DefaultHorizontalAlignment {get;}

Property Value

A value representing the default value of the HorizontalAlignment property. Unless overridden, HorizontalAlignment.Default.
Remarks

When overriding DefaultHorizontalAlignment in a derived class, IsHorizontalAlignmentAmbient should also be overridden to return false.

The value returned by your implementation of DefaultHorizontalAlignment 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

Reference

GridElement Class
GridElement Members
ResetHorizontalAlignment Method