API Reference
Struct
Size
A size in terminal cells.
Inheritance
- ValueType
- Size
Usage
Explore 57 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 54
- Method ChangeView.Measure
- Method Align.Measure
- Method Columns.Measure
- Method CultureScope.Measure
- Method Grid.Measure
- Property ICompactWidget.MinimumSize
- Method IWidget.Measure
- Method Padding.Measure
- Method Panel.Measure
- Method Prioritized.Measure
- Property Prioritized.MinimumSize
- Method Rows.Measure
- Property Size.Empty
- Method Sized.Measure
- Method Stack.Measure
- Method WatchFrame.Measure
- Method TestRunSummary.Measure
- Method TestRunView.Measure
- Method RichText.Measure
- Method ActivityList.Measure
- Method BarChart.Measure
- Method CellMap.Measure
- Method CodeView.Measure
- Method Dashboard.Measure
- Property Dashboard.MinimumSize
- Method ExceptionView.Measure
- Method FooterBar.Measure
- Method HeaderBar.Measure
- Method HelpView.Measure
- Method Histogram.Measure
- Method InspectorView.Measure
- Method KeyValueList.Measure
- Method Lanes.Measure
- Method LineChart.Measure
- Method LiveTable.Measure
- Method LiveWidget.Measure
- Method Logo.Measure
- Method LogRegion.Measure
- Method Phases.Measure
- Method ProgressBar.Measure
- Method RecordView.Measure
- Method Rule.Measure
- Method RunView.Measure
- Method Slot.Measure
- Method Sparkline.Measure
- Method Spinner.Measure
- Method StackedBar.Measure
- Method StatusList.Measure
- Method SummaryBar.Measure
- Method Table.Measure
- Method Table.Measure
- Method TextBlock.Measure
- Method Tree.Measure
- Method WatchView.Measure
Accepted by parameters 3
- Method Size.Equals
- Extension method Dashboard.WithMinimumSize
- Method DashboardFluent.WithMinimumSize
Constructors
public Size(Int32 width, Int32 height) #Creates a size; negative values become 0.
Parameters
- width System.Int32
- Width in cells.
- height System.Int32
- Height in cells.
Methods
Equals 2 overloads
public Boolean Equals(Size other) #Returns:
BooleanIndicates whether the current object is equal to another object of the same type.
Parameters
- other ConsoleMonster.Layout.Size
- An object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.
public override Boolean Equals(Object? obj) #Returns:
BooleanIndicates whether this instance and a specified object are equal.
Parameters
- obj System.Object?
- The object to compare with the current instance.
Returns
true if obj and this instance are the same type and represent the same value; otherwise, false.
public override Int32 GetHashCode() #Returns:
Int32Returns the hash code for this instance.
Returns
A 32-bit signed integer that is the hash code for this instance.
public override String ToString() #Returns:
StringReturns the fully qualified type name of this instance.
Returns
The fully qualified type name.