Sets or gets an integer value that determines how many levels of rows will be expanded when the grid is first displayed. The default value is 0 which signifies that no rows will be expanded. This value of this property has to be less than or equal to the value of InitialDataBindDepth A value or -1 means that all levels will be expanded, InitialExpandDepth should be set to -1 only when InitialDataBindDepth will also be set to -1.
Target Platforms: Windows 10, Windows 8.1, Windows 8, 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