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

ForceEmptyRelations property

Thread ID:

Created:

Updated:

Platform:

Replies:

56475 Feb 15,2007 02:56 PM UTC Feb 15,2007 06:39 PM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On February 15, 2007 02:56 PM UTC

Hi,

Will you please tell me exactly where the following properties are located in property window?

Because the following lines are being added in designer file which I don't want.

GGC.TableDescriptor.ForceEmptyColumns = true;
GGC.TableDescriptor.ForceEmptyRelations = true;
GGC.TableDescriptor.ForceEmptyVisibleColumns = true;

Administrator [Syncfusion]
Replied On February 15, 2007 06:39 PM UTC

Hi,

Will you please tell me exactly where the following properties are located in property window?
>>>>>>

These properties do not appear in the grid property window. The reason is that Browsable attribute of ForceEmptyXXXXX is false in a GridTableDescriptor. Here is a a some code.

[Browsable(false)]
[DefaultValue(false)]
public bool ForceEmptyColumns
{
get
{
return ShouldSerializeColumns() && Columns.Count == 0;
}
set
{
if (value != ForceEmptyColumns)
{
if (value)
Columns.Clear();
else
ResetColumns();
}
}
}

Best regards,
Haneef

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

;