Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Views Namespace / UIViewBase Class / SetDropMarkOrientation Method

The dependency object to which the attached property is written.

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.

The needed DropMarkOrientation value.


In This Topic
    SetDropMarkOrientation Method
    In This Topic
    Sets the value of the DropMarkOrientation attached property to the specified dependency object.
    Syntax
    'Declaration
     
    Public Shared Sub SetDropMarkOrientation( _
       ByVal obj As DependencyObject, _
       ByVal value As DropMarkOrientation _
    ) 
    'Usage
     
    Dim obj As DependencyObject
    Dim value As DropMarkOrientation
     
    UIViewBase.SetDropMarkOrientation(obj, value)
    public static void SetDropMarkOrientation( 
       DependencyObject obj,
       DropMarkOrientation value
    )

    Parameters

    obj

    The dependency object to which the attached property is written.

    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.

    value
    The needed DropMarkOrientation value.
    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