Version

RowSpacingBeforeResolved Property

Returns the actual value used for RowSpacingBefore for this row.
Syntax
'Declaration
 
Public Overridable ReadOnly Property RowSpacingBeforeResolved As Integer
public virtual int RowSpacingBeforeResolved {get;}
Example
The following code demonstrates the concept behind RowSpacingAfterResolved property. This property returns the resolved value that will be used. The same concept applies to RowSpacingBeforeResolved property.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid


    Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.Click
        ' If row's RowSpacingAfter is set to a non-default value then RowSpacingAfterResolved
        ' will return that value otherwise it will return the setting on the override.

        Me.ultraGrid1.DisplayLayout.Override.RowSpacingAfter = 10

        Dim row As UltraGridRow = Me.ultraGrid1.Rows(0)

        ' This will print the setting on the override which is 10.
        Debug.WriteLine("RowSpacingAfterResolved: " & row.RowSpacingAfterResolved)

        row.RowSpacingAfter = 20

        ' This will print the setting on the row which we set above to 20.
        Debug.WriteLine("RowSpacingAfterResolved: " & row.RowSpacingAfterResolved)
    End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;


		private void button1_Click(object sender, System.EventArgs e)
		{
			// If row's RowSpacingAfter is set to a non-default value then RowSpacingAfterResolved
			// will return that value otherwise it will return the setting on the override.

			this.ultraGrid1.DisplayLayout.Override.RowSpacingAfter = 10;

			UltraGridRow row = this.ultraGrid1.Rows[0];

			// This will print the setting on the override which is 10.
			Debug.WriteLine( "RowSpacingAfterResolved: " + row.RowSpacingAfterResolved );

			row.RowSpacingAfter = 20;

			// This will print the setting on the row which we set above to 20.
			Debug.WriteLine( "RowSpacingAfterResolved: " + row.RowSpacingAfterResolved );
		}
Requirements

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