Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix VS2013 MenuItem styles #317

Merged
merged 1 commit into from
Dec 22, 2020

Commits on Sep 13, 2020

  1. Fix VS2013 MenuItem styles

    Based on the recommendation by @BHandle here tgjones#291 (comment)
    
    Avoids WPF generating traces like:
    System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItemEx' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
    System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'MenuItemEx' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
    
    Note: VS2019 seems to have removed the UTF8 BOM header and the file is now strictly ANSI
    kornman00 committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    85baf7e View commit details
    Browse the repository at this point in the history