Click here to Skip to main content
15,887,337 members
Home / Discussions / C#
   

C#

 
GeneralGeneral C# question Pin
cmh62320-Dec-07 14:46
cmh62320-Dec-07 14:46 
GeneralRe: General C# question Pin
Christian Graus20-Dec-07 15:15
protectorChristian Graus20-Dec-07 15:15 
GeneralRe: General C# question Pin
PIEBALDconsult20-Dec-07 15:27
mvePIEBALDconsult20-Dec-07 15:27 
GeneralRe: General C# question Pin
Christian Graus20-Dec-07 15:51
protectorChristian Graus20-Dec-07 15:51 
GeneralRe: General C# question Pin
Paul Conrad23-Dec-07 7:21
professionalPaul Conrad23-Dec-07 7:21 
QuestionIE7 Style Button? Pin
Grizzley9020-Dec-07 14:30
Grizzley9020-Dec-07 14:30 
GeneralRe: IE7 Style Button? Pin
Christian Graus20-Dec-07 15:11
protectorChristian Graus20-Dec-07 15:11 
QuestionVector-based icons in XAML menu items? Pin
David Veeneman20-Dec-07 14:08
David Veeneman20-Dec-07 14:08 
I'm just getting started with WPF and XAML, and I am trying to create a
traditional menu bar. Everything works until I get to the menu icons. I can
add a bitmap icon to a menu item using this XAML markup:

<MenuItem Header="Log _In">
<MenuItem.Icon>
<Image Source="MenuIcons\Add.png" />
</MenuItem.Icon>
</MenuItem>

However, I want to use vector graphics, rather than bitmaps, for menu icons.
So, I try this markup:

<MenuItem Header = "Log In">
<MenuItem.Icon>
<Image Source="Resources\LogIn.xaml" />
</MenuItem.Icon>
</MenuItem>

I'm getting a design-time error saying that "No imaging component suitable
to complete this operation was found".

What's going on, and what do I need to do to be able to use a XAML
vector-graphic file as a menu item icon? Thanks for your help!
David Veeneman
www.veeneman.com

GeneralRe: Vector-based icons in XAML menu items? Pin
David Veeneman21-Dec-07 12:12
David Veeneman21-Dec-07 12:12 
QuestionTreeView Question--Please help Pin
T4AMD20-Dec-07 13:53
T4AMD20-Dec-07 13:53 
GeneralRe: TreeView Question--Please help Pin
Anthony Mushrow20-Dec-07 14:05
professionalAnthony Mushrow20-Dec-07 14:05 
QuestionRe: TreeView Question--Please help Pin
T4AMD20-Dec-07 14:08
T4AMD20-Dec-07 14:08 
GeneralRe: TreeView Question--Please help Pin
Anthony Mushrow20-Dec-07 14:13
professionalAnthony Mushrow20-Dec-07 14:13 
QuestionRe: TreeView Question--Please help Pin
T4AMD20-Dec-07 14:17
T4AMD20-Dec-07 14:17 
GeneralRe: TreeView Question--Please help Pin
Anthony Mushrow20-Dec-07 14:37
professionalAnthony Mushrow20-Dec-07 14:37 
GeneralRe: TreeView Question--Please help Pin
T4AMD20-Dec-07 14:42
T4AMD20-Dec-07 14:42 
GeneralBeginner programming question Pin
cmh62320-Dec-07 13:34
cmh62320-Dec-07 13:34 
GeneralRe: Beginner programming question Pin
Jordanwb20-Dec-07 13:46
Jordanwb20-Dec-07 13:46 
GeneralRe: Beginner programming question PinPopular
Christian Graus20-Dec-07 14:12
protectorChristian Graus20-Dec-07 14:12 
GeneralRe: Beginner programming question Pin
Jordanwb20-Dec-07 14:23
Jordanwb20-Dec-07 14:23 
GeneralRe: Beginner programming question Pin
Christian Graus20-Dec-07 15:16
protectorChristian Graus20-Dec-07 15:16 
GeneralRe: Beginner programming question Pin
Paul Conrad23-Dec-07 7:23
professionalPaul Conrad23-Dec-07 7:23 
GeneralRe: Beginner programming question Pin
DavidNohejl20-Dec-07 23:55
DavidNohejl20-Dec-07 23:55 
GeneralRe: Beginner programming question Pin
Paul Conrad23-Dec-07 7:24
professionalPaul Conrad23-Dec-07 7:24 
GeneralRe: Beginner programming question Pin
Jordanwb23-Dec-07 9:14
Jordanwb23-Dec-07 9:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.