Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Views Namespace / TreeGridflowView Class / AllowMultiContextCellSpanning Property


In This Topic
    AllowMultiContextCellSpanning Property
    In This Topic
    Gets or sets a value indicating if SpannedCells are allowed between different DataContext (master/detail).
    Syntax
    'Declaration
     
    Public Property AllowMultiContextCellSpanning As Boolean
    'Usage
     
    Dim instance As TreeGridflowView
    Dim value As Boolean
     
    instance.AllowMultiContextCellSpanning = value
     
    value = instance.AllowMultiContextCellSpanning
    public bool AllowMultiContextCellSpanning {get; set;}

    Property Value

    true if SpannedCells are allowed between different DataContext (master/detail), otherwise false. By default, true.
    Remarks

    When AllowMultiContextCellSpanning is set to true, the datagrid will attempt to use the DataGridControl's SpannedCellSelector and SpannedCellConfigurationSelector for every cell of the grid, and ignore the DetailConfiguration's SpannedCellSelector and SpannedCellConfigurationSelector, if and only if:

    - DataGridControl.SpannedCellSelector is null;
       or
    - the SpannedCellSelector.CanMergeMultipleContexts property of DataGridControl.SpannedCellSelector returns true.

    Requirements

    Target Platforms: Windows 11, Windows, 10, 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