Class SurfaceLayoutChangedEventArgs
Represents the base class for classes that contain event data, and provides a value to use for events that do not include event data.
Inherited Members
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public class SurfaceLayoutChangedEventArgs : EventArgs
Properties
| Edit this page View SourceDeviceAdded
Gets a value indicating if the event is caused by the addition of a new IRGBDevice to the RGBSurface.
Declaration
public bool DeviceAdded { get; }
Property Value
Type | Description |
---|---|
bool |
DeviceChanged
Gets a value indicating if the event is caused by a changed location or size of one of the IRGBDevice on the RGBSurface.
Declaration
public bool DeviceChanged { get; }
Property Value
Type | Description |
---|---|
bool |
DeviceRemoved
Gets a value indicating if the event is caused by the removal of a IRGBDevice to the RGBSurface.
Declaration
public bool DeviceRemoved { get; }
Property Value
Type | Description |
---|---|
bool |
Devices
Gets the IRGBDevice that caused the change. Returns null if the change isn't caused by a IRGBDevice.
Declaration
public IRGBDevice? Devices { get; }
Property Value
Type | Description |
---|---|
IRGBDevice |