IsImageAttachmentSupported

View as Markdown

Definition

Determines if the Share Service will allow for images as attachments.

Property Value

A bool value when false, screenshots will be unable to be sent to the social network.

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

Syntax

IsImageAttachmentSupported

Examples

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