Hello, how do i insert image file into plugin UI?
What i have tried so far:
1. IN XAML
<Image Grid.Row="2" Grid.Column="0" x:Name="image" Height="30" Width="30" ToolTipService.ToolTip="Scrool Of Wisdom" Source="currency_icons/Scroll_of_Wisdom_icon.png" />
2. IN XAML
<Image Grid.Row="2" Grid.Column="0" x:Name="image" Height="30" Width="30" ToolTipService.ToolTip="Scrool Of Wisdom">
<Image.Source>
<BitmapImage UriSource="currency_icons/Scroll_of_Wisdom_icon.png"/>
</Image.Source>
</Image>
3. IN CODE
image.Source = new BitmapImage(new Uri("currency_icons/Scroll_of_Wisdom_icon.png", UriKind.Relative));
-------------------------
None of the above display image in plugin window. None of it throw any errors. Any help appreciated.
What i have tried so far:
1. IN XAML
<Image Grid.Row="2" Grid.Column="0" x:Name="image" Height="30" Width="30" ToolTipService.ToolTip="Scrool Of Wisdom" Source="currency_icons/Scroll_of_Wisdom_icon.png" />
2. IN XAML
<Image Grid.Row="2" Grid.Column="0" x:Name="image" Height="30" Width="30" ToolTipService.ToolTip="Scrool Of Wisdom">
<Image.Source>
<BitmapImage UriSource="currency_icons/Scroll_of_Wisdom_icon.png"/>
</Image.Source>
</Image>
3. IN CODE
image.Source = new BitmapImage(new Uri("currency_icons/Scroll_of_Wisdom_icon.png", UriKind.Relative));
-------------------------
None of the above display image in plugin window. None of it throw any errors. Any help appreciated.
Last edited: