Friday, 15 March 2013

c# - Increase size of MenuItem.Icon WPF -


I have the following conflict that I could not find anywhere on the Internet. I have the following menu in the WPF application

  & lt; Menu margin = "0,0,95,207" FontSize = "14" & gt; & Lt; Menu.Resources & gt; & Lt; Style TargetType = "Image" & gt; & Lt; Setter property = "height" value = "20" /> & Lt; Setter property = "width" value = "20" /> & Lt; Setter property = "statch" value = "fill" /> & Lt; / Style & gt; & Lt; /Menu.Resources> & Lt; MenuItem Header = "_photo" height = "35" width = "55" ScrollViewer. Mercall ScrollVersibility = "Disabled" grid. ISirdips skip = "true" padding = "5,0" ScrollViewer.CanContentScroll = "True" UseLayoutRounding = "False" & gt; & Lt; MenuItem.Icon & gt; & Lt; Image Source = "Pack: // Citophorigine: /, / Resource / Text-icon .png" /> & Lt; /MenuItem.Icon> & Lt; MenuItem header = "_text" margin = "0" & ​​gt; & Lt; MenuItem.Icon & gt; & Lt; Image source = "pack: // cytoophorigin:. ,,, / resources / power - shutdown." "Margin =" 0,0,0,0 "/> & lt; /MenuItem.Icon>>     

Whatever I try to modify or change its size, I can not make the menu icons larger, nor men's height, nor the menu-font size. That my icon should be at least 25x25, I think the size of its column which appears on the left, but I do not know its name / property, so I changed its size Thanks in advance! :)

It's not as simple as it should be, I once Done, loading event. You can try or


No comments:

Post a Comment