Hi
Kevin,
We
have analyzed your requirement and you can achieve your requirement by using
the QueryColumnDragging event. Please find the code snippet and sample in the
following location.
Code Snippet
[c#]:
|
this.dataGrid.QueryColumnDragging +=
dataGrid_QueryColumnDragging; void dataGrid_QueryColumnDragging(object sender, Syncfusion.UI.Xaml.Grid.QueryColumnDraggingEventArgs e) {
if(e.Reason==QueryColumnDraggingReason.Dropping)
{
var rect = GetControlRect(this.textBox);
if (rect.Contains(e.PopupPosition))
{ var
column = dataGrid.Columns[e.From]; textBox.Text =
column.MappingName;
}
} } |
Please
let us know if you have any queries.
Regards,
Saravanan
C
Hi
Kevin,
We have
analyzed your query and you can remove the cross sign by overriding GridColumnDragDropController. Please find the code
snippet and sample in the following location,
Code
snippet[c#]:
|
protected override void OnPopupContentPositionChanged(double HorizontalDelta, double VerticalDelta, Point mousePoint, Point mousePointOverGrid) { base.OnPopupContentPositionChanged(HorizontalDelta,
VerticalDelta, mousePoint, mousePointOverGrid); VisualStateManager.GoToState(this.PopupContentControl, “Valid”, true); } |
Please
let us know if you have any queries.
Regards,
Saravanan
C