Ticket T165479
Visible to All Users

How to know when the layout has changed?

created 10 years ago

Hi,

This seems like it would be really easy, but I cannot find an event that fires after the layout has been adjusted. eg an OnChanged or OnLayoutChanged event of the TdxLayoutControl.

In case you are wondering why I need to know when it changes… I want to change the caption layout if the user changes the layout direction. Captions on top of top-to-bottom layout. Caption on left for left-to-right layout.

regards,
-randall sell

Answers approved by DevExpress Support

created 10 years ago (modified 10 years ago)

Hello

You can assign a public <dxLayoutControl>.Container.OnChanged property.

    Show previous comments (9)

      Hi Mikhail,
      Well, I have no plans to move to 14.1 any time soon (too new, too many bugs). So, can you enlighten me (perhaps a snippet from the help) as to what the QuickCustomize and Floating properties of the layout controls do? Is there online help I can go read up on?
      regards,
      -randall sell

      DevExpress Support Team 10 years ago

        Randall,

        I'm afraid the help documentation is not available yet for these features. Currently, they are implemented for demonstration purposes and are not published. However, I've created a simple project to demonstrate their capabilities.

          That is an interesting feature. Thanx for the demo.

          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.