Back to Devexpress

Initializer Class

mobilecontrols-devexpress-dot-xamarinforms-dot-charts-580a00e4.md

latest1.5 KB
Original Source

Initializer Class

Contains the Init method that initializes the DevExpress Charts component.

Namespace : DevExpress.XamarinForms.Charts

Assembly : DevExpress.XamarinForms.Charts.dll

NuGet Package : DevExpress.XamarinForms.Charts

Declaration

csharp
public static class Initializer

Remarks

After you add the DevExpress Charts component to your Xamarin.Forms solution, call the Init method before the InitializeComponent method call in the App.xaml.cs file of the project with the shared code…

csharp
public class App : Application {
    public App () {
        DevExpress.XamarinForms.Charts.Initializer.Init();
        InitializeComponent();

        // ...
    }
}

…and add the following initialization code before the LoadApplication method call in the AppDelegate.cs file of the iOS project:

csharp
DevExpress.XamarinForms.Charts.iOS.Initializer.Init();

Inheritance

Object Initializer

See Also

Initializer Members

DevExpress.XamarinForms.Charts Namespace