Help how to use SVGImage from cs in c# wpf #86
              
                Unanswered
              
          
                  
                    
                      hpvcodeDev
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| 
 If you define the button in XAML or the button has XAML part, then you can also use any of the above. Other than that consider using  Here is an implementation of buttons for references: https://github.com/Gedd18/swui | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am using SVGImage and for example to add an image to my button from my xaml file I use it this way
<Image Source="{svg1:SvgIcon AppName=Example, Source=/Imagen/Open/onedrive.svg}" Width="29" Stretch="Uniform" Margin=" 10 3 3 3" />and it works great for me, but now I am creating a button from the cs and I wanted to know what using will be used as a reference and what the call method would be to assign a sav image to my button from the cs.
Beta Was this translation helpful? Give feedback.
All reactions