Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Print Namespace / DataGridPageControl Class / SetIsDataGridHost Method
The panel identified as the host that will contain the DataGridControl.
true to identify a panel as a grid host; false otherwise.


In This Topic
    SetIsDataGridHost Method
    In This Topic
    Sets a value that, when set by a panel, identifies that panel as the host that will contain the DataGridControl.
    Syntax
    'Declaration
     
    Public Shared Sub SetIsDataGridHost( _
       ByVal obj As DependencyObject, _
       ByVal value As Boolean _
    ) 
    'Usage
     
    Dim obj As DependencyObject
    Dim value As Boolean
     
    DataGridPageControl.SetIsDataGridHost(obj, value)
    public static void SetIsDataGridHost( 
       DependencyObject obj,
       bool value
    )

    Parameters

    obj
    The panel identified as the host that will contain the DataGridControl.
    value
    true to identify a panel as a grid host; false otherwise.
    Remarks
    This method represents the "set" portion of the IsDataGridHost attached property.
    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