Set properties of ContextMenuItem, unit tests to follow.