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

TransitionControl combined with RadRibbonBar

3 Answers 49 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
Ardon Hendrickx
Top achievements
Rank 1
Ardon Hendrickx asked on 28 Apr 2010, 04:25 PM
I've used the TransitionControl on the navigationFrame succesfully.
Now i want the radRibbonGroups to fade in and out using the TransitionControl.
But everything I try returns a : Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

I've tried:
  <telerikRibbonBar:RadRibbonBar.Template> 
    <ControlTemplate TargetType="telerikRibbonBar:RadRibbonBar"
      <telerik:RadTransitionControl Content="{TemplateBinding RadRibbonBar}" ContentTemplate="{TemplateBinding RadRibbonBar}"
        <telerik:RadTransitionControl.Transition> 
          <effects:FadeTransition/> 
        </telerik:RadTransitionControl.Transition> 
      </telerik:RadTransitionControl> 
    </ControlTemplate> 
  </telerikRibbonBar:RadRibbonBar.Template> 
And
  <telerikRibbonBar:RadRibbonBar.Template> 
    <ControlTemplate TargetType="telerikRibbonBar:RadRibbonGroup"
      <telerik:RadTransitionControl Content="{TemplateBinding RadRibbonGroup}" ContentTemplate="{TemplateBinding RadRibbonGroup}"
        <telerik:RadTransitionControl.Transition> 
          <effects:FadeTransition/> 
        </telerik:RadTransitionControl.Transition> 
      </telerik:RadTransitionControl> 
    </ControlTemplate> 
  </telerikRibbonBar:RadRibbonBar.Template> 
And
  <telerikRibbonBar:RadRibbonBar.Template> 
    <ControlTemplate TargetType="telerikRibbonBar:RadRibbonBar"
      <telerik:RadTransitionControl Content="{TemplateBinding RadRibbonGroup}" ContentTemplate="{TemplateBinding RadRibbonGroup}"
        <telerik:RadTransitionControl.Transition> 
          <effects:FadeTransition/> 
        </telerik:RadTransitionControl.Transition> 
      </telerik:RadTransitionControl> 
    </ControlTemplate> 
  </telerikRibbonBar:RadRibbonBar.Template> 

Nothing seems to work.. 
Is it even possible to set an effect on a Ribbon?

Thanks verry much in advance!!

Ardon

3 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 29 Apr 2010, 01:43 PM
Hello Ardon,

 Unlike the Frame control, the RibbonBar control is an Items control and it cannot just fade in/out its content is it is not a ContentControl. In order to add fade effect to the RibbonBar control you should decide when you want it to fade in, what parts of it you want to fade and etc.

If you just want to make it fade when initially loaded you just place it as a content of the TranstionControl instead of changing its ControlTemplate.

Hope this helps!

Regards,
Miroslav Nedyalkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Ardon Hendrickx
Top achievements
Rank 1
answered on 29 Apr 2010, 02:58 PM
Dear Miroslav,
Thank you for your answer.
Actually i have separate groups within the ribbonbar. Initially those groups are collapsed (visibility.collapsed) when i change the state of the groups I actually want the groups to fade in.

Sorry for my bad English.

Ardon
0
Valentin.Stoychev
Telerik team
answered on 30 Apr 2010, 12:06 PM
Hello Ardon Hendrickx,

We don't support this functionality at the moment. You can create your own logic for fading the group after you make it visible, but it is not part from the control at the moment.

Greetings,
Valentin.Stoychev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TransitionControl
Asked by
Ardon Hendrickx
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Ardon Hendrickx
Top achievements
Rank 1
Valentin.Stoychev
Telerik team
Share this question
or