Xceed DataGrid for Silverlight Documentation
LicenseKey Property (Licenser)
Example 


Gets or sets the license key that is used to license the controls contained in the Xceed.Silverlight.Controls namespace.

Syntax
'Declaration
 
Public Shared Property LicenseKey As String
'Usage
 
Dim value As String
 
Licenser.LicenseKey = value
 
value = Licenser.LicenseKey
public static string LicenseKey {get; set;}

Property Value

A string representing the license key that is used to license the controls contained in the Xceed.Silverlight.Controls namespace.
Example
The LicenseKey property must be set with a valid license key, before any other method from this product is called. Normally, this corresponds to the main entry point of the application, such as the App constructor.
Public Sub New()    
   Xceed.Silverlight.Controls.Licenser.LicenseKey = "XXXXX-XXXXX-XXXXX-XXXX"
   InitializeComponent()
End Sub
public App()    
{
   Xceed.Silverlight.Controls.Licenser.LicenseKey = "XXXXX-XXXXX-XXXXX-XXXX";
   InitializeComponent();
}
Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

Licenser Class
Licenser Members

Send Feedback