Used AdgStyleId instead of gint