CSharpUtilities::ValueChangingEventArgs< ValueType > Class Template Reference


Detailed Description

template<ValueType>
class CSharpUtilities::ValueChangingEventArgs< ValueType >

EventArgs containing data for signalling that a data value will change value.

Template Parameters:
ValueType Type of the changing data value.
Inheritance diagram for CSharpUtilities::ValueChangingEventArgs< ValueType >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  ValueChangingEventArgs (ValueType oldValue, ValueType newValue)
  Construct with an old and new value.

Properties

bool  AllowValueChange [get, set]
  Handlers may use this property to control whether the value will be permitted to change,.

Member Function Documentation

template<ValueType >
CSharpUtilities::ValueChangingEventArgs< ValueType >::ValueChangingEventArgs ( ValueType  oldValue,
ValueType  newValue 
) [inline]

Construct with an old and new value.

Parameters:
oldValue The current (old) value.
newValue The new value to which the data value will change.

Property Documentation

template<ValueType >
bool CSharpUtilities::ValueChangingEventArgs< ValueType >::AllowValueChange [get, set]

Handlers may use this property to control whether the value will be permitted to change,.