Xceed DataGrid for WPF v7.2 Documentation
GetDropMarkOrientation Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace > UIViewBase Class : GetDropMarkOrientation Method

The dependency object from which the property value is read. By default, DropMarkOrientation.Default.

Member Description
Default The orientation of the drop-mark will be the default orientation depending on a grid's view.
Vertical The drop-mark will have a vertical orientation.
Horizontal The drop-mark will have a horizontal orientation.

Gets the value of the DropMarkOrientation attached property for the specified dependency object.
Syntax
'Declaration
 
Public Shared Function GetDropMarkOrientation( _
   ByVal obj As DependencyObject _
) As DropMarkOrientation
'Usage
 
Dim obj As DependencyObject
Dim value As DropMarkOrientation
 
value = UIViewBase.GetDropMarkOrientation(obj)
public static DropMarkOrientation GetDropMarkOrientation( 
   DependencyObject obj
)

Parameters

obj

The dependency object from which the property value is read. By default, DropMarkOrientation.Default.

Member Description
Default The orientation of the drop-mark will be the default orientation depending on a grid's view.
Vertical The drop-mark will have a vertical orientation.
Horizontal The drop-mark will have a horizontal orientation.

Return Value

The DropMarkOrientation value for the dependency object.
Remarks

The drop-mark is displayed when a ColumnManagerCell or GroupByItem is moved.

If left at its default value, the drop-mark will have a horizontal orientation when a grid is in TableView, and a vertical orientation when a grid is in CardView or CompactCardView.

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

UIViewBase Class
UIViewBase Members