waft_winui/primitives/horizontal_alignment.rs
1//! XAML `HorizontalAlignment`, for the templates and properties that name one.
2
3/// XAML `HorizontalAlignment`: where an element, or a control's content, sits across the slot it is given.
4#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
5pub enum HorizontalAlignment {
6 Left,
7 Center,
8 Right,
9 /// The whole width of the slot.
10 #[default]
11 Stretch,
12}