Struct
Size
ConsoleMonster.Layout
A size in terminal cells.
Inheritance
- ValueType
- Size
Usage
Explore 113 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 110
- Method BaselineView.Measure
- Method ChangeView.Measure
- Method TextDiffView.Measure
- Method DashboardFrame.Measure
- Method Distribution.Measure
- Method GroupedRows<T>.Measure
- Method ConsoleImage.Measure
- Method ServicesView.Measure
- Method Accordion.Measure
- Method AppBinding.Measure
- Method AppScreens.Measure
- Method Breadcrumb.Measure
- Method Button.Measure
- Method ChartPlot.Measure
- Method ChartView.Measure
- Method Collapsible.Measure
- Method DataGrid.Measure
- Method DatePicker.Measure
- Method InputControl.Measure
- Method LogViewport.Measure
- Method Outline.Measure
- Method Select.Measure
- Method SelectionInputBase.Measure
- Method TextInput.Measure
- Method Toggle.Measure
- Method TreeSelect.Measure
- Method Align.Measure
- Method Columns.Measure
- Method CultureScope.Measure
- Property ICompactWidget.MinimumSize
- Method IWidget.Measure
- Method LayoutGrid.Measure
- Method Padding.Measure
- Method Panel.Measure
- Method Prioritized.Measure
- Property Prioritized.MinimumSize
- Method Responsive.Measure
- Method Rows.Measure
- Property Size.Empty
- Method Sized.Measure
- Method Stack.Measure
- Method Steady.Measure
- Method LogTailView.Measure
- Method WatchFrame.Measure
- Method OverviewWidget.Measure
- Method TestRunSummary.Measure
- Method TestRunView.Measure
- Method RichText.Measure
- Method ActivityList.Measure
- Method BarChart.Measure
- Method Calendar.Measure
- Method CellMap.Measure
- Method CodeView.Measure
- Method ConsoleViewFrame.Measure
- Method ContextWidget.Measure
- Method Dashboard.Measure
- Property Dashboard.MinimumSize
- Method Diagram.Measure
- Method ExceptionView.Measure
- Method FactFlow.Measure
- Method Flow.Measure
- Method FooterBar.Measure
- Method HeaderBar.Measure
- Method HelpView.Measure
- Method Histogram.Measure
- Method InspectorView.Measure
- Method KeyValueList.Measure
- Method Lanes.Measure
- Method LayoutRegion.Measure
- Method LayoutRegions.Measure
- Method Legend.Measure
- Method LineChart.Measure
- Method LiveTable.Measure
- Method LiveWidget.Measure
- Method Logo.Measure
- Method LogRegion.Measure
- Method MarkdownView.Measure
- Method Matrix.Measure
- Method PathSet.Measure
- Method Phases.Measure
- Method ProgressBar.Measure
- Method RecordView.Measure
- Method RegionWidget.Measure
- Method RoleTable.Measure
- Method Rule.Measure
- Method RunBoard.Measure
- Method RunCompletion.Measure
- Method RunDashboard.Measure
- Method RunProgress.Measure
- Method RunSummary.Measure
- Method RunView.Measure
- Method ScatterPlot.Measure
- Method ScoreGauge.Measure
- Method ScrollView.Measure
- Method ShellPrompt.Measure
- Method Sparkline.Measure
- Method Spinner.Measure
- Method Splitter.Measure
- Method StackedBar.Measure
- Method StatusList.Measure
- Method SummaryBar.Measure
- Method Table.Measure
- Method Table<T>.Measure
- Method Tabs.Measure
- Method TextBlock.Measure
- Method Tree.Measure
- Method ViewFacts.Measure
- Method ViewHeader.Measure
- Method ViewHint.Measure
- Method WatchView.Measure
Accepted by parameters 3
- Method Size.Equals
- Extension method Dashboard.MinimumSize
- Method DashboardFluent.MinimumSize
Constructors
public Size(int width, int height) #Creates a size; negative values become 0.
Parameters
- width int
- Width in cells.
- height int
- Height in cells.
Methods
Equals 2 overloads
public bool Equals(Size other) #Indicates 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
bool true if the current object is equal to the other parameter; otherwise, false.public override bool Equals(object? obj) #Indicates whether this instance and a specified object are equal.
Parameters
- obj object?
- The object to compare with the current instance.
Returns
bool true if obj and this instance are the same type and represent the same value; otherwise, false.public override int GetHashCode() #Returns the hash code for this instance.
Returns
int A 32-bit signed integer that is the hash code for this instance.public override string ToString() #Returns the fully qualified type name of this instance.
Returns
string The fully qualified type name.