Version

HeightInInfiniteContainers Property (GridViewSettings)

Returns/sets a value that is used as default for the height of the control implementing the view when used in a container with infinite height available.
Syntax
'Declaration
 
Public Property HeightInInfiniteContainers As Double
public double HeightInInfiniteContainers {get; set;}
Remarks

Certain controls such as System.Windows.Controls.ScrollViewer and System.Windows.Controls.StackPanel make an infinite amount of height and width available to the controls they contain. If you place a control that implements a GridView (e.g., XamDataGrid or XamDataPresenter with a XamDataPresenter.View set to an instance of GridView) inside one of these controls you may want to set this property to constrain the height of the control to a convenient value. If you don't set this property a default height of System.Windows.SystemParameters.VirtualScreenHeight will be used.

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