Ticket Q588485
Visible to All Users

How to animate panels

created 11 years ago

Hello Support,

I have implemented docking behavior like your floating windows example. I have several "windows" (FloatGroup.LayoutPanel) that will be selectable by the user. I am unsure how to add window animation on for the open and close behaviors. I have looked at the documentation for WindowAnimationType and cannot seem to figure out how to apply the desired effect.

Regards,
Bryce

Comments (2)

    Follow on questions. At least 1 competitor talks about their components being "blendable". The Storyboard and animation you provided on the opacity property is a first step. Can complex animations be applied to DevExpress components? Can these animations be developed using Blend on the DevExpress components?

    Alexander Russkov (DevExpress) 11 years ago

      Hello Bryce,
      You can apply an arbitrary animation to our components. There are no special restrictions. We have an example that demonstrates how to add sliding animation: E4192: How to animate DocumentPanels in DockLayoutManager when DocumentGroup's MDIStyle is set to MDI.
      As for creating animation in Blend, we don't fully support Blend. However, you can edit specific templates in Blend as descried in the "Blend Integration" help topic.

      Thanks,
      Alexander

      Answers approved by DevExpress Support

      created 11 years ago (modified 11 years ago)

      Hi Bryce,
      DXDocking does not provide this functionality out-of-the-box. To implement it, it will be necessary to manually run necessary animations when your panels are shown. I have created a sample project demonstrating how to run such animation. Please take a moment to review it in the attachment.
      Additionally, I recommend you review the How to modify DX themes in WPF KB article describing how to customize our controls.
      Thanks

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.