Xceed Grid for WinForms v4.3 Documentation
AmbientVerticalAlignment Property (DataRow)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > DataRow Class : AmbientVerticalAlignment Property
Gets the ambient value of the datarow's VerticalAlignment property.
Syntax
'Declaration
 
Protected Overrides ReadOnly Property AmbientVerticalAlignment As VerticalAlignment
'Usage
 
Dim instance As DataRow

Dim value As VerticalAlignment

 

value = instance.AmbientVerticalAlignment
protected override VerticalAlignment AmbientVerticalAlignment {get;}

Property Value

A VerticalAlignment value representing the vertical alignment of the DataRow's content.
Remarks

The ambient vertical alignment is the alignment inherited from the DataRow's parent in the case where its own VerticalAlignment property is not explicitly set.

If the value of the GridElement.IsVerticalAlignmentAmbient property is true then both the AmbientVerticalAlignment and VerticalAlignment properties will return the same value.

When overriding AmbientVerticalAlignment in a derived class, if the base implementation of AmbientVerticalAlignment is not returned the alternation of datarow styles will no longer function.
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

DataRow Class
DataRow Members
Base Implementation in AmbientVerticalAlignment