Class Row
A widget that contains other widgets in a horizontal row.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class Row : DeputyBase, IWidget
Syntax (vb)
Public Class Row
Inherits DeputyBase
Implements IWidget
Remarks
Widgets will be laid out next to each other
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudWatch;
IWidget widget;
var row = new Row(widget);
Synopsis
Constructors
Row(IWidget[]) | |
Row(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Row(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
Height | The amount of vertical grid units the widget will take up. |
Widgets | List of contained widgets. |
Width | The amount of horizontal grid units the widget will take up. |
Methods
Position(Double, Double) | Place the widget at a given position. |
ToJson() | Return the widget JSON for use in the dashboard. |
Constructors
Row(IWidget[])
Row(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Row(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Row(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Row(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
Height
The amount of vertical grid units the widget will take up.
public virtual double Height { get; }
Property Value
System.Double
Widgets
Width
The amount of horizontal grid units the widget will take up.
public virtual double Width { get; }
Property Value
System.Double
Methods
Position(Double, Double)
Place the widget at a given position.
public virtual void Position(double x, double y)
Parameters
- x System.Double
- y System.Double
ToJson()
Return the widget JSON for use in the dashboard.
public virtual object[] ToJson()
Returns
System.Object[]