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.

Showing properties with browsable(false)

Thread ID:

Created:

Updated:

Platform:

Replies:

74064 May 29,2008 06:59 AM Jun 3,2008 03:18 AM Windows Forms 1
loading
Tags: GridControl
test
Asked On May 29, 2008 06:59 AM

As in the subject. Is there any way to show properties of an object that have been assigned as not browsable (this cant change).

I am binding a List.

Thx



SubhaSheela R [Syncfusion]
Replied On June 3, 2008 03:18 AM

Hi Jack,

Thanks for your interest in Syncfusion products.

It is not possible to visible the property after Browsable[false] is set. It is the default behavior. By adding the Browsable attribute with false argument, make a property invisible to Desginer. Here is the code to do it,


private int myVar;
[System.ComponentModel.Browsable(false)]

public int MyProperty
{
get { return myVar; }
set { myVar = value; }
}


Kindly let me know if you need any further details.

Regards,
Subhasheela R



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.

;