You need to override this:
Blockquote virtual void NativeOnInitialized() override;
Here is the sample code