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.
Syncfusion Feedback

Hide XPTaskPane close button

Thread ID:

Created:

Updated:

Platform:

Replies:

23625 Jan 17,2005 01:26 AM UTC Jan 17,2005 04:06 PM UTC Windows Forms 1
loading
Tags: Tools
Rich
Asked On January 17, 2005 01:26 AM UTC

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

Administrator [Syncfusion]
Replied On January 17, 2005 04:06 PM UTC

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.

Warning Icon 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.Close Icon

;