Has Ribbon - ReadOnly depdency property

Ribbon for WPF Forum

Posted 12 years ago by La Shawnta Beedles - Schlumberger Tech Corp
Version: 11.1.0545
Avatar
We have run into the case where the RibbonWindow HasRibbon property is becoming false, but there is a ribbon in the window.

What conditions trigger the HasRibbon property to be false. We are running into the issue where the Quick access tool bar is being overlayed by the window label.

Here is a snippet of the style that causes the issue.

Any advice on what may be happening here?

<Trigger Property="HasRibbon" Value="false">
<Setter TargetName="PART_TitleBarTextShadow" Property="HorizontalContentAlignment" Value="Left" />
<Setter TargetName="TitleGlow1" Property="HorizontalContentAlignment" Value="Left" />
<Setter TargetName="TitleGlow2" Property="HorizontalContentAlignment" Value="Left" />
<Setter TargetName="TitleGlow3" Property="HorizontalContentAlignment" Value="Left" />
<Setter TargetName="TitleGlow4" Property="HorizontalContentAlignment" Value="Left" />
<Setter TargetName="PART_TitleBarText" Property="HorizontalContentAlignment" Value="Left" />
</Trigger>

[Modified at 11/04/2011 05:56 PM]

Comments (1)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi La Shawnta,

I don't think we have anything that sets it false. Ribbon itself tells its containing RibbonWindow when its inside of it, thus setting HasRibbon to true.

It happens in multiple places such as the Ribbon getting its template applied, the Ribbon's visual parent being changed, etc.

We'd need to see a new simple sample project to be able to help you any further. If you do email one over, please rename the .zip file extension so it doesn't get spam blocked. Thanks!


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.