Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
The Content property is IContent, which you can cast to your type. E.g.:
var block = e.Content as YourBlockData;
if (block != null)
{
// Do something
}
Or just BlockData:
var block = e.Content as BlockData;
if (block != null)
{
// Do something
}
Hello,
I have a InitializeModule and I am able to handle an event on page deleted. I also see that they have an event on DeletedContent. But the DeleteContentEventArgs have a property Content but the BlockData doesn't inherit from it.
Regards,
Benjamin