Gif Message

As its name states, the GifMessage is intended to be used for displaying gif elements. It provides a single constructor which is illustrated below.

  • Author author
  • Uri source
  • DateTime creationDate

So, a GifMessage can be defined as follows.

Example 1: Defining a GifMessage

GifMessage gifMessage = new GifMessage(this.currentAuthor, new Uri("/Images/pbox.gif", UriKind.Relative));

this.chat.AddMessage(gifMessage);

Figure 1: Defining GifMessage

Defining GifMessage

See Also

In this article
Not finding the help you need? Improve this article