TransitionControl combined with RadRibbonBar

4 posts, 0 answers
  1. Ardon Hendrickx
    Ardon Hendrickx avatar
    3 posts
    Member since:
    Mar 2010

    Posted 28 Apr 2010 Link to this post

    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
  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 29 Apr 2010 Link to this post

    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.
  3. DevCraft banner
  4. Ardon Hendrickx
    Ardon Hendrickx avatar
    3 posts
    Member since:
    Mar 2010

    Posted 29 Apr 2010 Link to this post

    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
  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 30 Apr 2010 Link to this post

    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.
Back to Top