We recommend that you build your App to support preview mode. This allows it to play on the RedCritter site on your App's page without the need for a logged in user. It also allows you to submit your App to be featured in Microsoft's Silverlight Gallery at www.silverlight.net.

Namespace:  RedCritterV1
Assembly:  RedCritterV1 (in RedCritterV1.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public bool SupportsPreview { get; set; }
Public Property SupportsPreview As Boolean

Remarks

SupportsPreview must be set the Constructor for your App following its InitializeComponent call.

Check the App's HostMode property in the onLoad() event in order to determine if your App is running in preview mode.

Examples

CopyC#
public partial class MyApp: RedCritterV1.App, RedCritterOutlookV1.IOutlook
{
     public MyApp()
     {
          InitializeComponent();
          SupportsPreview = true; //If your App supports Preview mode set the property here.
     }

     //...Additional Code
 }

See Also