Skip to main content

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

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…

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:

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

Inheritance

Object
Initializer
See Also