Can i change tabitem name?

Sep 17, 2010 at 5:07 AM

dear sir,

           I want to change the tabitem name i.e File.when i declare fluent ribbon it automatically create file.How can i rename it and can i add items in File?

 

Coordinator
Sep 17, 2010 at 5:37 AM

For v1.3:

To change 'File' string you need change Ribbon.Localization.BackstageButtonText property value.
To add items you have to supply BackstageTabItem(s) into Ribbon.BackstageTabItems collection.

For v2.0 (still in development):

To change 'File' string you need change Ribbon.Localization.BackstageButtonText property value or set Backstage.Header.
To add items you have to supply BackstageTabItem(s) into Backstage.Items collection.

Daniel

Sep 17, 2010 at 6:08 AM

Dear sir,

         Thanks for your response.But Where i should add "Ribbon.Localization.BackstageButtonText" this property.can u show syntax of this.

Coordinator
Sep 17, 2010 at 6:30 AM

Anywhere in code Ribbon.Localization.BackstageButtonText = "MyText";

Sep 17, 2010 at 6:43 AM

thanks you.Its working.Small doubt.can ve remove that tab?i.e File tab

 

Sep 17, 2010 at 6:51 AM

how can i add images in backstageitems?

 <Fluentribbon:Ribbon.BackstageItems>
 <Fluentribbon:Button Name="Ignore" Text="Ignore" LargeIcon="Images/ignore.png" Background="Transparent" SizeDefinition="small" ToolTip="Ignore"/>
 <Fluentribbon:Button Name="Cleanup" Text="Clean up"  LargeIcon="Images/Cleanup.png" Background="Transparent" SizeDefinition="small" ToolTip="Clean up"/>
 <Fluentribbon:Button Name="junk" Text="Junk"  LargeIcon="Images/junk.png" Background="Transparent" SizeDefinition="small" ToolTip="Junk"/>
 <Fluentribbon:Button Name="delete" Text="Delete"  LargeIcon="Images/Delete.png" Background="Transparent" SizeDefinition="small" ToolTip="Delete" />
 </Fluentribbon:Ribbon.BackstageItems>

Is this correct? but this is not showing images 

 

Coordinator
Sep 17, 2010 at 7:05 AM

Remove SizeDefinition, Background  and use Icon instead of LargeIcon propety

Sep 17, 2010 at 7:11 AM

can ve remove  File tab?

 

Coordinator
Sep 17, 2010 at 6:29 PM

yes, you will be able to remove Backstage in v2