XAML is also used for more than just graphics too, it's a generic markup for object models.