e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
35 lines
1005 B
C#
35 lines
1005 B
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="ListViewCancelEventArgs.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System;
|
|
using System.Collections.Specialized;
|
|
using System.ComponentModel;
|
|
|
|
namespace System.Web.UI.WebControls {
|
|
|
|
public class ListViewCancelEventArgs : CancelEventArgs {
|
|
private int _itemIndex;
|
|
private ListViewCancelMode _cancelMode;
|
|
|
|
public ListViewCancelEventArgs(int itemIndex, ListViewCancelMode cancelMode) : base(false) {
|
|
_itemIndex = itemIndex;
|
|
_cancelMode = cancelMode;
|
|
}
|
|
|
|
public int ItemIndex {
|
|
get {
|
|
return _itemIndex;
|
|
}
|
|
}
|
|
|
|
public ListViewCancelMode CancelMode {
|
|
get {
|
|
return _cancelMode;
|
|
}
|
|
}
|
|
}
|
|
}
|