//--------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Windows.Controls; using EGC = ExtendedGrid.Microsoft.Windows.Controls; namespace ExtendedGrid.Microsoft.Windows.Controls { /// /// Event args used for Column reordering event raised after column header drag-drop /// public class DataGridColumnReorderingEventArgs : EGC.DataGridColumnEventArgs { #region Constructors /// /// Constructor /// /// public DataGridColumnReorderingEventArgs(EGC.DataGridColumn dataGridColumn) : base(dataGridColumn) { } #endregion #region Properties /// /// Property to specify whether the Reordering operation should be cancelled /// public bool Cancel { get { return _cancel; } set { _cancel = value; } } /// /// The control which would be used as an indicator for drop location during column header drag drop /// public Control DropLocationIndicator { get { return _dropLocationIndicator; } set { _dropLocationIndicator = value; } } /// /// The control which would be used as a drag indicator during column header drag drop. /// public Control DragIndicator { get { return _dragIndicator; } set { _dragIndicator = value; } } #endregion #region Data private bool _cancel; private Control _dropLocationIndicator; private Control _dragIndicator; #endregion } }