Hello,
I try to setup the Icoon of a groupbariten via C# but I am not succedding. The same icon is working in XAML however not in C#.
C# is not working:
GroupBarItem taskBarItem=new GroupBarItem();
BitmapImage image = new BitmapImage();
image.BeginInit();
image.UriSource = new Uri("/Icons/offers.png");
image.EndInit();
taskBarItem.HeaderImageSource = image;
taskBar.Items.Add(taskBarItem);
XAML is working:
<syncfusion:GroupBarItem HeaderText="Test" Name="test"
ShowInGroupBar="True" HeaderImageSource="/Icons/offers.png" >
</syncfusion:GroupBarItem>