Set Element Label Position

Hi

I want to change the position of an element label.

I tried to do

      ILabelUIModel label = (ILabelUIModel) diagramActivityAction;

But I got an exception.

Suggestions?