// ReSharper disable once CheckNamespace namespace WPFluent.Controls; /// /// Extended with properties. /// public class MenuItem : System.Windows.Controls.MenuItem { static MenuItem() { IconProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(null)); } /// /// Gets or sets displayed . /// [System.Diagnostics.CodeAnalysis.SuppressMessage( "WpfAnalyzers.DependencyProperty", "WPF0012:CLR property type should match registered type", Justification = "seems harmless")] public new IconElement Icon { get => (IconElement)GetValue(IconProperty); set => SetValue(IconProperty, value); } }