Nah, I actually listen to (and hear the sample) across multiple genres, I've definitely heard it at least in trip hop, abstract hip hop, rap, drum and bass, dubstep, techno, etc etc. I don't listen to hard style but I'm confident there's definitely a bunch of tracks that must use it there as well.
Yeah, I figured it was some flavour of EDM, but for some reason hardstyle stands out to me as using more of those idiomatic types of lines. Not sure if that's actually true or not, though. :)
But yeah, I'm sure it been sampled in lots of different dance genres.