FadingMessage class

This class is to create messages that show up as a popup that fades in and fades out. Only a single message can be shown at one time. Derive from FadingMessage to change this behavior. For simple messages:


FadingMessage.Show("Saved...");

You can control the look and contents of the message by supplying your own UI objects:

FadingMessage msg = new FadingMessage()
{
  MessageToShow = theMessage,
  VerticalAlignment = VerticalAlignment.Top,
  HorizontalAlignment = HorizontalAlignment.Right
};
msg.Show(3000); // 3 seconds


Last edited Mar 5, 2011 at 7:36 AM by TheADOGuy, version 1

Comments

No comments yet.