Files
mono/mcs/class/System.Windows.Forms/Gtk/ConvertEventArgs.cs
T
Joel Basson 636605aaa2 Tue Nov 18 23:00:00 GMT+2 2003 Joel Basson <[email protected]>
* New start to DataGrid. Imported files from swf-winelib
	* CurrencyManager.cs
	* BindingManagerBase.cs
	* BindingsCollection.cs
	* BaseCollection.cs
	* Binding.cs
	* ItemChangedEventArgs.cs
	* ItemChangedEventHandler.cs
	* ConvertEventArgs.cs
	* ConvertEventHandler.cs
	* BindingMemberInfo.cs
	* BorderStyle.cs
	* KeyEventArgs.cs
	* KeyEventHandler.cs
	* KeyPressEventArgs.cs
	* KeyPressEventHandler.cs
	* Keys.cs
	* AccessibleObject.cs
	* AccessibleEvents.cs
	* AccessibleNavigation.cs
	* AccessibleRole.cs
	* AccessibleSelection.cs
	* AccessibleStates.cs
	* NavigateEventArgs.cs
	* NavigateEventHandler.cs
	* PaintEventArgs.cs
	* PaintEventHandler.cs
	* GridTableStylesCollection.cs
	* GridColumnStylesCollection.cs
	* DataGrid.cs
	* IDataGridColumnStyleEditingNotificationService.cs
	* IDataGridEditingService.cs
	* DataGridColumnStyle.cs
	* DataGridBoolColumn.cs
	* DataGridCell.cs
	* DataGridLineStyle.cs
	* DataGridParentRowsLabelStyle.cs
	* DataGridPreferredColumnWidthTypeConverter.cs
	* DataGridTableStyle.cs
	* DataGridTextBoxColumn.cs
	* DataGridTextBox.cs

svn path=/trunk/mcs/; revision=20189
2003-11-18 21:14:15 +00:00

54 lines
894 B
C#

//
// System.Windows.Forms.ConvertEventArgs.cs
//
// Author:
// Stubbed out by Jaak Simm ([email protected])
// Finished by Dennis Hayes ([email protected])
// Gianandrea Terzi ([email protected])
//
// (C) Ximian, Inc., 2002
//
namespace System.Windows.Forms {
/// <summary>
/// Provides data for the Format and Parse events.
/// </summary>
public class ConvertEventArgs : EventArgs {
#region Fields
private Type desiredtype;
private object objectvalue;
#endregion
//Constructor
public ConvertEventArgs(object objectValue,Type desiredType)
{
this.desiredtype = desiredType;
this.objectvalue = objectValue;
}
#region Public Properties
public Type DesiredType
{
get {
return desiredtype;
}
}
public object Value {
get {
return objectvalue;
}
set {
objectvalue = value;
}
}
#endregion
}
}