Xceed DataGrid for WPF v7.2 Documentation
GetCanSpanHorizontally Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace > PrintTableView Class : GetCanSpanHorizontally Method
The dependency object from which the property value is read. 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"Exceptions
designlist:tagidentifier=##EXCEPTION,itemtype=Exception
" -->"Permissions
designlist:tagidentifier=##PERMISSION,itemtype=Permission
" -->
Gets the value of the CanSpanHorizontally attached property for the specified dependency object.
Syntax
'Declaration
 
Public Shared Function GetCanSpanHorizontally( _

   ByVal obj As DependencyObject _

) As Boolean
'Usage
 
Dim obj As DependencyObject

Dim value As Boolean

 

value = PrintTableView.GetCanSpanHorizontally(obj)
public static bool GetCanSpanHorizontally( 

   DependencyObject obj

)

Parameters

obj
The dependency object from which the property value is read. 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"Exceptions
designlist:tagidentifier=##EXCEPTION,itemtype=Exception
" -->"Permissions
designlist:tagidentifier=##PERMISSION,itemtype=Permission
" -->

Return Value

The boolean property value for the dependency object.
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