Share via


LineDisplayBase.DeviceRows Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Holds the number of rows on this device.

Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property DeviceRows As Integer
public override int DeviceRows { get; }
public:
virtual property int DeviceRows {
    int get () override;
}
/** @property */
public int get_DeviceRows ()
public override function get DeviceRows () : int

Remarks

LineDisplayBase class verifies that the device has been opened, then retrieves the value of LineDisplayProperties.DeviceRows, which is the ScreenModeList.Rows value for the current Screen Mode.

DeviceRows is initialized to 0 (zero) by the LineDisplayProperties class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

LineDisplayBase Class
LineDisplayBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
LineDisplay.DeviceRows Property
LineDisplay.ScreenModeList Property