We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Hide XPTaskPane close button

Is there any way I can hide/remove the close button on a XPTaskPane

1 Reply

AD Administrator Syncfusion Team January 17, 2005 11:06 AM

Hi Rich, To hide the close button of an XPTaskPane simply insert the following statement into your code. this.xpTaskPane1.HeaderRightToolbar.Items[1].Visible = false; This will hide the BarItem that represents the Close button. Alternatively, if you dislike the empty space that will appear at the upper right of the pane from the first solution, you could set the Enabled property to false. Regards, Gregory Austin Syncfusion, Inc.

Loader.
Live Chat Icon For mobile
Up arrow icon