WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
DirectOutput.FX.BeforeEffectNameChangeAventArgs Class Reference

EventArgs for the BeforeEffectNameChanged event More...

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

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

Definition at line 29 of file EffectEventArgs.cs.

Constructor & Destructor Documentation

DirectOutput.FX.BeforeEffectNameChangeAventArgs.BeforeEffectNameChangeAventArgs ( )

Initializes a new instance of the BeforeEffectNameChangeAventArgs class.

Definition at line 43 of file EffectEventArgs.cs.

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

Initializes a new instance of the BeforeEffectNameChangeAventArgs class.

Parameters
EffectThe effect.
NewNameThe new name.

Definition at line 49 of file EffectEventArgs.cs.

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.

Definition at line 39 of file EffectEventArgs.cs.

string DirectOutput.FX.BeforeEffectNameChangeAventArgs.NewName
getset

New name for the Effect

Definition at line 35 of file EffectEventArgs.cs.


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