Interface ITextWidgetProps
Properties for a Text widget.
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public interface ITextWidgetProps
Syntax (vb)
Public Interface ITextWidgetProps
Remarks
ExampleMetadata: infused
Examples
Dashboard dashboard;
dashboard.AddWidgets(new TextWidget(new TextWidgetProps {
Markdown = "# Key Performance Indicators"
}));
Synopsis
Properties
Height | Height of the widget. |
Markdown | The text to display, in MarkDown format. |
Width | Width of the widget, in a grid of 24 units wide. |
Properties
Height
Height of the widget.
virtual Nullable<double> Height { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 2
Markdown
The text to display, in MarkDown format.
string Markdown { get; }
Property Value
System.String
Width
Width of the widget, in a grid of 24 units wide.
virtual Nullable<double> Width { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 6