foreach (KeyValuePair<string, object> ob in graphic.Attributes)
{
string str = ob.Key.ToString();
}
foreach (KeyValuePair<string, object> ob in graphic.Attributes)
{
string str = ob.Key.ToString();
}