Xceed DataGrid for WPF v7.2 Documentation
SetCanSpanHorizontally Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace > PrintTableView Class : SetCanSpanHorizontally Method
The dependency object to which the attached property is written.
The needed boolean value. By default, when a grid is in a table-view layout, the value of the CanSpanHorizontally property will correspond to the table-view's CanScrollHorizontally property
Sets the value of the CanSpanHorizontally attached property to the specified dependency object.
Syntax
'Declaration
 
Public Shared Sub SetCanSpanHorizontally( _

   ByVal obj As DependencyObject, _

   ByVal value As Boolean _

) 
'Usage
 
Dim obj As DependencyObject

Dim value As Boolean

 

PrintTableView.SetCanSpanHorizontally(obj, value)
public static void SetCanSpanHorizontally( 

   DependencyObject obj,

   bool value

)

Parameters

obj
The dependency object to which the attached property is written.
value
The needed boolean value. By default, when a grid is in a table-view layout, the value of the CanSpanHorizontally property will correspond to the table-view's CanScrollHorizontally 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

PrintTableView Class
PrintTableView Members