I tried to get
IGraphicsContainer from Data View (active map) using
IGraphicsContainer graphicsContainer = (IGraphicsContainer)neApp.Document.MxDocument.FocusMap;
but the variable always null, is there any different way to do this?
I already get from page layout view in this question right here: Get IGraphicsContainer from page layout but i need it from data view (map).