public static string GetVisibleLayerIDs(KmlLayer layer) { return((string)layer.GetValue(VisibleLayerIDsProperty)); }