Category / Section
How to set icon at the TopLeft position in WPF RibbonWindow?
1 min read
You can set the icon at the TopLeft position in RibbonWindow by using the Office2010Icon property.
XAML
<syncfusion:RibbonWindow x:Class="Office2010Icon_Ribbon.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Office2010Icon="Resources/TitleIcon.png" syncfusion:SkinStorage.VisualStyle="Office2013" xmlns:syncfusion="http://schemas.syncfusion.com/wpf" WindowStartupLocation="CenterScreen" Title="Office2010Icon_Ribbon" Height="350" Width="525" TitleTextAlignment="Center"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <syncfusion:Ribbon> </syncfusion:Ribbon> </Grid> </syncfusion:RibbonWindow>
The following screenshot illustrates that the icon has been aligned at the TopLeft position of RibbonWindow.