Gets or sets the number of relations for the master row.
NuGet Package: DevExpress.Win.Grid
An integer value specifying the number of relations for the master row.
Initially, the RelationCount property contains the default number of relations specified by the grid control’s data source. You can change this value to specify your own number of relations. For instance, you can provide detail data manually by handling the GridView.MasterRowGetChildList event while the data source actually has no detail data. To do so, set the RelationCount to a positive value specifying the number of details for the current row. In this case, the GridView.MasterRowEmpty and GridView.MasterRowGetRelationName events will also be raised for each row the number of times specified by the relation number.