I've noticed that when I add drag and drop to a grid the column sizing no loger works.
I have implemented the drag/drop events..
I have implemented the drag/drop events..
private void OnDropQuery(object sender, DragDropQueryEventArgs e)
{
Type sourceType = e.Options.Source.GetType();
if (sourceType == typeof(GridViewHeaderCell))
{
return;
}
.
.
.
and
#region dragQuery
protected virtual void OnDragQuery(object sender, DragDropQueryEventArgs e)
{
if (sourceType == typeof(GridViewHeaderCell))
{
e.QueryResult = true;
}
.
.
.
How should the drag and drop respond to the GridViewHeader?