Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
560
custom windowpane
posted

hi,

I need a container whose titlebar has a button on the left, caption in the middle and just maximize, minimize buttons on the right.

Is this feasible with WinDocManager.

 Thanks,

bhavani 

Parents
  • 44743
    posted

    You can use dock manager to do this, but to get the button on the left, you would need to do this manually using a creation filter. You would probably want to create a class derived from ButtonUIElementBase or ImageAndTextButtonUIElementBase. In your creation filter, when a PaneCaptionUIElement has been created, you can add an instance of your class to its ChildElements collection. If you have never used creation filters before, here is an article that should help get you started: http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/Win_Creation_Filter.html

Reply Children