Skip to main content
A newer version of this page is available. .

Initializer.Init() Method

Initializes the DevExpress Charts component.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public static void Init()

Remarks

Call the Init method before the InitializeComponent method call in the MainPage.xaml.cs file of your project with the shared code:

public partial class MainPage : ContentPage {
    public MainPage() {
        DevExpress.XamarinForms.Charts.Initializer.Init();
        InitializeComponent();

        // ...
    }
}
See Also