Interface CfnInAppTemplate.IDefaultButtonConfigurationProperty
Specifies the default behavior of a button that appears in an in-app message.
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDefaultButtonConfigurationProperty
Syntax (vb)
Public Interface 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
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). |
Properties
BackgroundColor
The background color of a button, expressed as a hex color code (such as #000000 for black).
virtual string BackgroundColor { get; }
Property Value
System.String
Remarks
BorderRadius
The border radius of a button.
virtual Nullable<double> BorderRadius { get; }
Property Value
System.Nullable<System.Double>
Remarks
ButtonAction
The action that occurs when a recipient chooses a button in an in-app message.
virtual string ButtonAction { get; }
Property Value
System.String
Remarks
Link
The destination (such as a URL) for a button.
virtual string Link { get; }
Property Value
System.String
Remarks
Text
The text that appears on a button in an in-app message.
virtual string Text { get; }
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).
virtual string TextColor { get; }
Property Value
System.String