XAML Icons - How to use?

前端 未结 1 2100
误落风尘
误落风尘 2021-02-06 05:12

I have some vector graphic files in XAML format and I would like to use them as icons/buttons in an Silverlight application. The approach I would have preferred is to use an Im

1条回答
  •  离开以前
    2021-02-06 05:28

    JWendel,

    You should post some examples of your XAML icons to clarify, but any content control, like Button's and ContentControl's, have both Content, and ContentTemplate properties. A shared ContentTemplate example is shown below:

    
        
            
        
    
        
            

    You can paste the above content into my XamlViewer to quickly see the results.

    Good luck,
    Jim McCurdy

    0 讨论(0)
提交回复
热议问题