DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
DirectOutput.FX.BeforeEffectNameChangeAventArgs Class Reference

EventArgs for the BeforeEffectNameChanged event More...

Inheritance diagram for DirectOutput.FX.BeforeEffectNameChangeAventArgs:
Collaboration diagram for DirectOutput.FX.BeforeEffectNameChangeAventArgs:

Public Member Functions

 BeforeEffectNameChangeAventArgs ()
 Initializes a new instance of the BeforeEffectNameChangeAventArgs class. More...
 
 BeforeEffectNameChangeAventArgs (IEffect Effect, string NewName)
 Initializes a new instance of the BeforeEffectNameChangeAventArgs class. More...
 
- Public Member Functions inherited from DirectOutput.FX.EffectEventArgs
 EffectEventArgs ()
 
 EffectEventArgs (IEffect Effect)
 

Properties

string NewName [get, set]
 New name for the Effect More...
 
bool CancelNameChange [get, set]
 If CancelNameChanges is set to true, the Name of the Effect will not be changed and a exception is thrown. More...
 
- Properties inherited from DirectOutput.FX.EffectEventArgs
IEffect Effect [get, set]
 IEffect object which has triggered the event. More...
 

Detailed Description

EventArgs for the BeforeEffectNameChanged event

Constructor & Destructor Documentation

DirectOutput.FX.BeforeEffectNameChangeAventArgs.BeforeEffectNameChangeAventArgs ( )

Initializes a new instance of the BeforeEffectNameChangeAventArgs class.

DirectOutput.FX.BeforeEffectNameChangeAventArgs.BeforeEffectNameChangeAventArgs ( IEffect  Effect,
string  NewName 
)

Initializes a new instance of the BeforeEffectNameChangeAventArgs class.

Parameters
EffectThe effect.
NewNameThe new name.

Property Documentation

bool DirectOutput.FX.BeforeEffectNameChangeAventArgs.CancelNameChange
getset

If CancelNameChanges is set to true, the Name of the Effect will not be changed and a exception is thrown.

string DirectOutput.FX.BeforeEffectNameChangeAventArgs.NewName
getset

New name for the Effect


The documentation for this class was generated from the following file: