locked
Windows::Graphics::FontStyle vs Windows::UI::Xaml::FontStyle

    General discussion

  • The values of the enumerations Windows::Graphics::FontStyle differ from the values of Windows::UI:Xaml::FontStyle.

    Windows::Graphics::FontStyle.

    enum FontStyle
    {
        FontStyle_Normal	= 0,
        FontStyle_Italic	= ( FontStyle_Normal + 1 ) ,
        FontStyle_Oblique	= ( FontStyle_Italic + 1 ) 
    } 	FontStyle;
    
    

    vs Windows::UI::Xaml::FontStyle

    enum FontStyle
    {
        FontStyle_Normal	= 0,
        FontStyle_Oblique	= 1,
        FontStyle_Italic	= 2
    } 	FontStyle;
    
    

    I know this might be a bit nit-picky it seems like it'd be nice if they were in the same order.

    • Changed type Thom Gerdes Tuesday, October 4, 2011 6:37 PM
    Tuesday, October 4, 2011 6:37 PM

All replies

  • Good eye Thom and thanks for the feedback! I filed a bug to look into the possibility of sync'ing the two for consistency.

    -David Lamb

    Wednesday, October 12, 2011 1:37 AM
    Moderator