Skip to content

Hide the close button

New Discussion
Nick
Nick asked on Feb 5, 2009 12:12 AM

Hi,

 

I have set AllowClose to false and the close button is now disabled. However I would like to hide the close button, can you tell me if I can do this and if so how?

 

Thanks,

Nick.

Sign In to post a reply

Replies

  • 0
    Mike Dour
    Mike Dour answered on Aug 7, 2008 3:30 PM

    You can set the ShowDisabledButtons or ShowCloseButton to False on the dock manager.

    • 0
      Nick
      Nick answered on Aug 7, 2008 5:13 PM

       Thanks Mike! Getting a bit lost in all these properties…

      • 0
        Prathamesh
        Prathamesh answered on Sep 10, 2008 1:16 PM

        This will only hide the close image that appears on the pane. The right click context menu item Hide still exits and allows to close the pane. Also, I want to know what if I want to just disable the close button only for a specific pane. Is it possible?

      • 0
        Mike Dour
        Mike Dour answered on Sep 15, 2008 7:00 PM

        It sounds like a bug that the hidden buttons still appear in the context menu. You can submit this to the support group: http://www.infragistics.com/gethelp.

        To hide the close button for a specific pane, only set ShowDisabledButtons to False and on the pane, set its Settings.AllowClose to False.

      • 0
        Bill
        Bill answered on Feb 4, 2009 11:59 PM

        Hi,

         Can someone confirm that this is a bug? After setting AllowClose to false on a pane the context menu still shows Hide.

         

        Thanks,

        Bill

      • 0
        Bill
        Bill answered on Feb 5, 2009 12:12 AM

        nevermind, its working fine.

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Nick
Favorites
0
Replies
6
Created On
Feb 05, 2009
Last Post
17 years, 7 months ago

Suggested Discussions

Created by

Created on

Feb 5, 2009 12:12 AM

Last activity on

Feb 5, 2009 12:12 AM