Version

FixedHeight Property

Returns or sets a value that determines whether a row can be sized by the user. This property is not available at design-time.
Syntax
'Declaration
 
Public Property FixedHeight As Infragistics.Win.DefaultableBoolean
public Infragistics.Win.DefaultableBoolean FixedHeight {get; set;}
Remarks

This property can be used to indicate a specific row should not be resized, regardless of whether the RowSizing property enables the user to resize rows.

If this property is set to 1 (FixedHeightTrue) for a particular row, the user may still indirectly resize that row if the RowSizing property is set to 3, since the row's size may be affected by the sizing of another row.

This property only affects whether the user can resize a row. A row can be sized programmatically, regardless of the value of this property, by setting its Height property.

Example
Following sample code sets the height of the first row to 100 and sets the FixedHeight to True to disallow the user to resize the row.

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
        ' Set the height of the row to 100 pixels.
        Me.UltraGrid1.Rows(0).Height = 100

        ' Disallow the user to change the height of the first row.
        Me.UltraGrid1.Rows(0).FixedHeight = DefaultableBoolean.True
    End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;


		private void button1_Click(object sender, System.EventArgs e)
		{
			// Set the height of the row to 100 pixels.
			this.ultraGrid1.Rows[0].Height = 100;

			// Disallow the user to change the height of the first row.
			this.ultraGrid1.Rows[0].FixedHeight = DefaultableBoolean.True;
		}
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