File: System\Windows\Controls\DataGridSortingEventArgs.cs
Web Access
Project: src\src\Microsoft.DotNet.Wpf\src\PresentationFramework\PresentationFramework.csproj (PresentationFramework)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
 
using System;
using System.Collections.Generic;
using System.Text;
 
namespace System.Windows.Controls
{
    /// <summary>
    /// Event args for sorting event on datagrid
    /// </summary>
    public class DataGridSortingEventArgs : DataGridColumnEventArgs
    {
        public DataGridSortingEventArgs(DataGridColumn column)
            : base(column)
        {
        }
 
        /// <summary>
        /// To indicate that the sort has been handled
        /// </summary>
        public bool Handled
        {
            get
            {
                return _handled;
            }
 
            set
            {
                _handled = value;
            }
        }
 
        private bool _handled = false;
    }
}