ForceEmptyRelations property

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;

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Up arrow icon