Version

ActualPosition Property

Gets or sets the actual position of the field in the arrangement of fields in the field layout.
Syntax
'Declaration
 
Public Property ActualPosition As FieldPosition
public FieldPosition ActualPosition {get; set;}
Remarks

ActualPosition property returns the resolved position of the field in the field layout. This value can be different from the field's Column, Row, ColumnSpan and RowSpan property values because of either auto-arrangement or user's re-arranging of fields.

You can set this property to change the position of the field in the arrangement of fields. The difference between this property and the Column, Row, ColumnSpan and RowSpan properties is that these properties specify the initial or default position information of the field whereas ActualPosition specifies the actual or current position information of the field. Note that you can use the FieldLayout's FieldLayout.EnsureUniqueFieldPositions method to make sure none of the fields overlap after setting ActualPosition on one or more fields.

Note that if the data presenter hasn't auto-arranged fields yet (because for example the data presenter hasn't been displayed yet), this property will return a default value based on its Column, Row, ColumnSpan and RowSpan property settings.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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