
Hello
This is example:
<ribbon:RibbonWindow x:Class="TitleProblem.MainWindow"
                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"
                     DocumentName="{Binding DocName}"
                     ApplicationName="{Binding AppName}"
                     mc:Ignorable="d"
                     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                     SizeToContent="WidthAndHeight">
    <StackPanel>
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="Document name:"
                     Width="120" />
            <TextBox Text="{Binding DocName}"
                     MinWidth="120" />
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="Application name:"
                     Width="120" />
            <TextBox Text="{Binding AppName}"
                     MinWidth="120" />
        </StackPanel>
    </StackPanel>
</ribbon:RibbonWindow>
ViewModel
class MainWindowViewModel : INotifyPropertyChanged
{     
   public const string AppNamePropertyName = "AppName";
   private string _appName = "";
      
   public string AppName
   {
      get
      {
         return _appName;
      }
      set
      {
         if (_appName == value)
         {
            return;
         }
         _appName = value;
         OnPropertyChanged(AppNamePropertyName);
      }
   }
   public const string DocNamePropertyName = "DocName";
   private string _docName = "";
      
   public string DocName
   {
      get
      {
         return _docName;
      }
      set
      {
         if (_docName == value)
         {
            return;
         }
         _docName = value;
         OnPropertyChanged(DocNamePropertyName);
      }
   }
   public event PropertyChangedEventHandler PropertyChanged;
   protected virtual void OnPropertyChanged(string propertyName)
   {
      var handler = PropertyChanged;
      if (handler != null)
      {
         handler(this, new PropertyChangedEventArgs(propertyName));
      }
   }
}
1) Change text in first TextBlock and exit control
2) Change text in second TextBlock and exit control
3) Titlebar is empy - why?
4) Resize window - now is OK.
Best regards - Marcin Szotka, InstalSoft
