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.
Unfortunately, activation email could not send to your email. Please try again.

Hide XPTaskPane close button

Thread ID:

Created:

Updated:

Platform:

Replies:

23625 Jan 16,2005 08:26 PM Jan 17,2005 11:06 AM Windows Forms 1
loading
Tags: Tools
Rich
Asked On January 16, 2005 08:26 PM

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

Administrator [Syncfusion]
Replied On 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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;