How to display a title in an XABP application using ribbon

Ribbon for WPF Forum

Posted 14 years ago by Andreas Boerzel - Software Architect, REALTECH Software Products GmbH
Version: 9.2.0514
Avatar
I develop an XBAP application with a ribbon menue and I tried to set the tilte in the main page of the application (see xaml below) but the tilte is not shown. Does anyone know how to set the tilte in an XBAP application??

Thanks
Andreas

XAML:
<Page x:Class="Realtech.ControlCenter.Client.ShellView"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:nmdb="clr-namespace:NMDB;assembly=nmdbid.net" 
      xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"      
      xmlns:themes="http://schemas.actiprosoftware.com/winfx/xaml/themes"
      xmlns:ribboneditors="http://schemas.actiprosoftware.com/winfx/xaml/ribboneditors"
      xmlns:local="clr-namespace:Realtech.ControlCenter.Client" 
      themes:ThemeManager.Theme="Office2007Black"
      Name="mainPage"       
      Loaded="ShellView_Loaded"      
      mc:Ignorable="d" 
      MinHeight="300" MinWidth="300"
      d:DesignHeight="300" d:DesignWidth="500"
      Title="theGuard! Business Service Management ControlCenter" >

   <DockPanel Background="{DynamicResource {x:Static themes:RibbonCommonDictionary.WindowWorkspaceBackgroundBrushKey}}">

      <!-- ribbon menu -->
      <ribbon:Ribbon x:Name="ribbon" DockPanel.Dock="Top"
                     ApplicationButtonImageSource="{Binding Source={StaticResource theGuard_Logo}}" 
                     IsApplicationButtonVisible="True"                                 
                        ApplicationButtonScreenTipHelpUri="http://www.realtech.com"
                        IsCustomizeQuickAccessToolBarMenuItemVisible="True"
                     IsQuickAccessToolBarCustomizationEnabled="True"
                     ribboneditors:RibbonEditorsStyleBehavior.ApplyRibbonCompatibleStyles="True">

         <!-- Tab Panel Items (Appear next to the tabs) -->
         <ribbon:Ribbon.TabPanelItems>
            <ribbon:Button ImageSourceSmall="/Images/help2_16.png" Label="Application Help" Command="local:ApplicationCommands.Help"  KeyTipAccessText="Z" />
         </ribbon:Ribbon.TabPanelItems>

      </ribbon:Ribbon>

      <Grid x:Name="MainGrid" >
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
         </Grid.ColumnDefinitions>
         <ContentControl Grid.Column="0" Name="_navigationContent" />
         <ContentControl Grid.Column="1" Name="_workspaceContent" />
      </Grid>

   </DockPanel>

</Page>

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Andreas,

Sorry but the title is not intended to show in XBAPs. The Page.Title should appear in your browser's title bar though.


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.