This is a migrated thread and some comments may be shown as answers.

RadRibbonBar disable fade animation

2 Answers 123 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 2
Adam asked on 06 Feb 2012, 10:39 PM
Hi,

I'm looking for a way to disable the animation that is used when a user has a collapsed RibbonBarElement (RibbonBarElement.Expanded = false) and then interacts with the RadRibbonTabs.  Single clicking a tab in this case opens the tab strip while the tab strip has focus.  Once focus has left the control (user clicks elsewhere), the tab strip returns to a collapsed state.  When it returns to being collapsed, there is an opacity fade effect being applied.  Sometimes when the message pump is busy with other processing going on, this fade effect is looking bad and I can't figure out how to disable it.

Setting  AnimatedPropertySetting.AnimationsEnabled = false; does not seem to work in this case.  (The particular project I am working with is RadControls WinForms Q1 2010 SP2 - an upgrade is possible in the future for this, but not at this time.  I haven't yet been able to investigate whether there is a visible setting in Q3 2011).

If anyone has any insight into how to control this, I'd appreciate it.

Thanks,
Adam

2 Answers, 1 is accepted

Sort by
0
Adam
Top achievements
Rank 2
answered on 06 Feb 2012, 11:36 PM
Sorry I finally found the property I was looking for.  

ribbonBar1.RibbonBarElement.Popup.FadeAnimationType = FadeAnimationType.None;
0
Boryana
Telerik team
answered on 09 Feb 2012, 12:01 PM
Hi Adam,

I am glad you found the property you were looking for. In case you have further questions, do not hesitate to contact us.

Greetings,
Boryana
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
RibbonBar
Asked by
Adam
Top achievements
Rank 2
Answers by
Adam
Top achievements
Rank 2
Boryana
Telerik team
Share this question
or