Show / Hide Table of Contents

Class TextWidgetProps

Properties for a Text widget.

Inheritance
System.Object
TextWidgetProps
Implements
ITextWidgetProps
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class TextWidgetProps : Object, ITextWidgetProps
Syntax (vb)
Public Class TextWidgetProps
    Inherits Object
    Implements ITextWidgetProps
Remarks

ExampleMetadata: infused

Examples
Dashboard dashboard;


dashboard.AddWidgets(new TextWidget(new TextWidgetProps {
    Markdown = "# Key Performance Indicators"
}));

Synopsis

Constructors

TextWidgetProps()

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.

Constructors

TextWidgetProps()

public TextWidgetProps()

Properties

Height

Height of the widget.

public Nullable<double> Height { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Default: 2

Markdown

The text to display, in MarkDown format.

public string Markdown { get; set; }
Property Value

System.String

Width

Width of the widget, in a grid of 24 units wide.

public Nullable<double> Width { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Default: 6

Implements

ITextWidgetProps
Back to top Generated by DocFX