Singer Instruments PIXL Client
CleavesOnCurrentBladeChanged Event
Example 



SI.PIXL.Client Namespace > PIXLClient Class : CleavesOnCurrentBladeChanged Event
Occurs when the PIXLClient.CleavesOnCurrentBlade property changes.
Syntax
'Declaration
 
Public Event CleavesOnCurrentBladeChanged As EventHandler(Of Integer)
'Usage
 
Dim instance As PIXLClient
Dim handler As EventHandler(Of Integer)
 
AddHandler instance.CleavesOnCurrentBladeChanged, handler
public event EventHandler<int> CleavesOnCurrentBladeChanged
public:
event EventHandler<int>^ CleavesOnCurrentBladeChanged
Example
This sample shows how to handle the CleavesOnCurrentBladeChanged event.
// Subscribe to CleavesOnCurrentBladeChanged events.
pixl.CleavesOnCurrentBladeChanged += (sender, cleaves) =>
{
    // Publish an update to the Console.
    Console.WriteLine($"PIXL's current blade has cleaved {cleaves} times.");
};
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PIXLClient Class
PIXLClient Members