Class SizeProperty
The size properties of a Terminal Emulator object.
public class SizeProperty : ICloneable
- Inheritance
-
SizeProperty
- Implements
- Inherited Members
Constructors
SizeProperty()
Initializes a new instance of the SizeProperty class.
public SizeProperty()
SizeProperty(Size)
Initializes a new instance of the SizeProperty class with RowCount and ColumnCount values.
public SizeProperty(Size size)
Parameters
sizeSizeThe RowCount and ColumnCount values to initialize the SizeProperty.
Properties
ColumnCount
Returns the total number of columns in the emulator screen.
public int? ColumnCount { get; set; }
Property Value
- int?
RowCount
Returns the total number of rows (lines) in the emulator screen.
public int? RowCount { get; set; }
Property Value
- int?
Methods
Clone()
Creates an exact copy of this object.
public object Clone()
Returns
- object
a deep copy of the instance.
GetProperties()
Returns the inner properties of this property.
public IDictionary<string, object> GetProperties()
Returns
Operators
implicit operator SizeProperty(Size)
Implicits cast of Size to SizeProperty.
public static implicit operator SizeProperty(Size size)
Parameters
sizeSizeThe Size instance to be cast to SizeProperty.
Returns
Remarks
This is the same as calling a new SizeProperty(Size).