This repository has been archived on 2024-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
Sic06/FrameworkLocal/UIClient/DataGridTransform/DataGrid/Microsoft/Windows/Controls/InitializingNewItemEventArg...

35 lines
896 B
C#

//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
namespace ExtendedGrid.Microsoft.Windows.Controls
{
/// <summary>
/// Provides access to the new item during the InitializingNewItem event.
/// </summary>
public class InitializingNewItemEventArgs : EventArgs
{
/// <summary>
/// Instantiates a new instance of this class.
/// </summary>
public InitializingNewItemEventArgs(object newItem)
{
_newItem = newItem;
}
/// <summary>
/// The new item.
/// </summary>
public object NewItem
{
get { return _newItem; }
}
private object _newItem;
}
}