CashDrawer.DrawerEventSource Property

Definition

Gets the CashDrawerEventSource to allow the app to detect the open/close state of the drawer. The actual current state is reported by IsDrawerOpen..

public:
 property CashDrawerEventSource ^ DrawerEventSource { CashDrawerEventSource ^ get(); };
CashDrawerEventSource DrawerEventSource();
public CashDrawerEventSource DrawerEventSource { get; }
var cashDrawerEventSource = cashDrawer.drawerEventSource;
Public ReadOnly Property DrawerEventSource As CashDrawerEventSource

Property Value

The cash drawer event source. If the drawer does not support open/close detection, then it will return null.

Applies to