waft-winui 0.18.2

WinUI 3 controls and Fluent styling for the Waft UI framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! XAML `HorizontalAlignment`, for the templates and properties that name one.

/// XAML `HorizontalAlignment`: where an element, or a control's content, sits across the slot it is given.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
pub enum HorizontalAlignment {
    Left,
    Center,
    Right,
    /// The whole width of the slot.
    #[default]
    Stretch,
}