RadRibbonWindow Title Bar

4 posts, 0 answers
  1. Jason
    Jason avatar
    6 posts
    Member since:
    Mar 2009

    Posted 11 Dec 2012 Link to this post

    I am building a prototype using a RadRibbonWindow as a main application window with a RadRibbonView.  There is a vertical line that is always on the title bar that I would like to get rid of but I can't seem to locate any way to do it.  If you look close at the attached screenshot it is behind the circular application icon.  Is there a style associated with it?  I am currently using the latest Q3 2012 build (trial edition).

    I also attached a 2nd image from a sample application I downloaded from these forums that shows it more clearly.
  2. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 14 Dec 2012 Link to this post

    Hi Jason,

    The separator line is placed there to separate the WindowIcon from the header content of the RadRibbonWindow. Once you set he RadRibbonWindow Icon propety, a drop down menu allowing you to modify the window(Restore/Minimize/Maximize/Move) will be display when you click the Icon.
    In order to hide the separator you could set the RadRibbonView WindowIconVisibility property to Collapsed and the separator will disappear, however you will not be able to use the modify drop down menu.

    I hope this information helps, please do not hesitate to ask any further questions.

    All the best,
    Kiril Vandov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Kevin
    Kevin avatar
    11 posts
    Member since:
    May 2012

    Posted 31 Dec 2012 Link to this post

    I am currently running into the same problem right now.  If I change my WindowIconVisibility to Hidden or Collapsed I get an error, but not when I use Visible: "Value cannot be null. Parameter name: dp".  I cannot build or rebuild my solution, so I can't Run it either.  Here is my code, the error is on Line 5, Column 25 (The entire WindowIconVisibility="Hidden" is underlined):

                             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"           
                             x:Class="Project.MainWindow">
        <telerik:RadRibbonView WindowIconVisibility="Hidden">
      
        </telerik:RadRibbonView>
    </telerik:RadRibbonWindow>


    I am using the most recent Q3 2012 full version. 

    Here is my unhandled exception information:

    Value cannot be null.
    Parameter name: dp
       at System.Windows.DependencyObject.GetValue(DependencyProperty dp)
       at Telerik.Windows.Controls.RadRibbonView.get_IsHostedInRibbonWindow() in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\RibbonView\RibbonView\RadRibbonView.Properties.cs:line 1472
       at Telerik.Windows.Controls.RadRibbonView.OnWindowIconVisibilityChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\RibbonView\RibbonView\RadRibbonView.cs:line 995
       at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
       at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
       at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
       at Microsoft.Expression.Platform.WPF.WpfDependencyPropertyImplementation.SetValue(Object target, Object valueToSet)
       at Microsoft.Expression.DesignModel.Metadata.DependencyPropertyReferenceStep.SetValue(Object target, Object valueToSet)
       at Microsoft.Expression.DesignModel.Core.InstanceBuilderOperations.SetValue(Object target, IProperty propertyKey, Object value)
       at Microsoft.Expression.DesignModel.InstanceBuilders.ClrObjectInstanceBuilder.ModifyValue(IInstanceBuilderContext context, ViewNode target, IProperty propertyKey, Object value, PropertyModification modification)
       at Microsoft.Expression.DesignModel.InstanceBuilders.DependencyObjectInstanceBuilderBase`1.ModifyValue(IInstanceBuilderContext context, ViewNode target, IProperty propertyKey, Object value, PropertyModification modification)
       at Microsoft.Expression.Platform.WPF.InstanceBuilders.FrameworkElementInstanceBuilder.ModifyValue(IInstanceBuilderContext context, ViewNode target, IProperty propertyKey, Object value, PropertyModification modification)
       at Microsoft.Expression.DesignModel.InstanceBuilders.ClrObjectInstanceBuilder.UpdateProperty(IInstanceBuilderContext context, ViewNode viewNode, IProperty propertyKey, DocumentNode valueNode)
  5. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 02 Jan 2013 Link to this post

    Hello Kevin,

    We managed to reproduce the issue using control dll's from our latest Service Pack. However, this issue is resolved with our latest internal builds and the fix will be also included in Q1 2013 scheduled for mid-February. Meanwhile, you can download the latest internal build from your account page at www.telerik.com and use it if this is suitable for you.
    Please excuse us for the inconvenience caused.

    Kind regards,
    Kiril Vandov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top