Class CfnInAppTemplate.DefaultButtonConfigurationProperty
Specifies the default behavior of a button that appears in an in-app message.
Inheritance
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.AWS.Pinpoint.dll
Syntax (csharp)
public class DefaultButtonConfigurationProperty : Object, CfnInAppTemplate.IDefaultButtonConfigurationProperty
Syntax (vb)
Public Class DefaultButtonConfigurationProperty
Inherits Object
Implements CfnInAppTemplate.IDefaultButtonConfigurationProperty
Remarks
You can optionally add button configurations that specifically apply to iOS, Android, or web browser users.
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.Pinpoint;
var defaultButtonConfigurationProperty = new DefaultButtonConfigurationProperty {
BackgroundColor = "backgroundColor",
BorderRadius = 123,
ButtonAction = "buttonAction",
Link = "link",
Text = "text",
TextColor = "textColor"
};
Synopsis
Constructors
DefaultButtonConfigurationProperty() |
Properties
BackgroundColor | The background color of a button, expressed as a hex color code (such as #000000 for black). |
BorderRadius | The border radius of a button. |
ButtonAction | The action that occurs when a recipient chooses a button in an in-app message. |
Link | The destination (such as a URL) for a button. |
Text | The text that appears on a button in an in-app message. |
TextColor | The color of the body text in a button, expressed as a hex color code (such as #000000 for black). |
Constructors
DefaultButtonConfigurationProperty()
public DefaultButtonConfigurationProperty()
Properties
BackgroundColor
The background color of a button, expressed as a hex color code (such as #000000 for black).
public string BackgroundColor { get; set; }
Property Value
System.String
Remarks
BorderRadius
The border radius of a button.
public Nullable<double> BorderRadius { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
ButtonAction
The action that occurs when a recipient chooses a button in an in-app message.
public string ButtonAction { get; set; }
Property Value
System.String
Remarks
Link
The destination (such as a URL) for a button.
public string Link { get; set; }
Property Value
System.String
Remarks
Text
The text that appears on a button in an in-app message.
public string Text { get; set; }
Property Value
System.String
Remarks
TextColor
The color of the body text in a button, expressed as a hex color code (such as #000000 for black).
public string TextColor { get; set; }
Property Value
System.String