Xceed DataGrid for WPF v7.2 Documentation
SetIsPageHeadersHost Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Print Namespace > DataGridPageControl Class : SetIsPageHeadersHost Method
The panel identified as the host that will contain all elements added to a page's headers through the PageHeaders property.
true to identify a panel as the page-headers host; false otherwise.
Sets a value that, when set by a panel, identifies that panel as the host that will contain all elements added to a page's headers through the PageHeaders property.
Syntax
'Declaration
 
Public Shared Sub SetIsPageHeadersHost( _

   ByVal obj As DependencyObject, _

   ByVal value As Boolean _

) 
'Usage
 
Dim obj As DependencyObject

Dim value As Boolean

 

DataGridPageControl.SetIsPageHeadersHost(obj, value)
public static void SetIsPageHeadersHost( 

   DependencyObject obj,

   bool value

)

Parameters

obj
The panel identified as the host that will contain all elements added to a page's headers through the PageHeaders property.
value
true to identify a panel as the page-headers host; false otherwise.
Remarks
This method represents the "set" portion of the IsPageHeadersHost 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

Reference

DataGridPageControl Class
DataGridPageControl Members