Return a docking pane icon index.
Call this method to obtain icon index specified in SetIconIndex() method.