CharacterLimit

View as Markdown

Definition

Determines the maximum number of characters the social network allows. Signature, text, and links all contribute to this character count displayed on the share window.

A value of int.MaxValue determines no practical limit and will make the character count not appear on the Share window.

Property Value

A int value that represents the maximum number of characters the social network allows.

This property should ONLY be set from the OnStateChange() method during State.SetDefaults or State.Configure.

Syntax

CharacterLimit

Examples

1protected override void OnStateChange()
2{
3 if (State == State.SetDefaults)
4 {
5 CharacterLimit = 280;
6 }
7}