Hi Guys!
Please help me.
I am building a radGridView dynamically from a Databasetable.
So the GridColumns are not defined in XAML.
This dynamically GridView might have some GridViewComboBoxColumns
and the user should be able to delete/deselect the value.
I am trying this in the code behind:
GridViewComboBoxColumn ComboBoxCol = new GridViewComboBoxColumn();
ComboBoxCol.SetValue(RadComboBox.ClearSelectionButtonVisibilityProperty, "Visible");
ComboBoxCol.SetValue(RadComboBox.ClearSelectionButtonContentProperty, null);
But I get a runtime error, that "Visible" is no valid value for the property.
Any suggestions?
Thanks and Regards, Martin
Please help me.
I am building a radGridView dynamically from a Databasetable.
So the GridColumns are not defined in XAML.
This dynamically GridView might have some GridViewComboBoxColumns
and the user should be able to delete/deselect the value.
I am trying this in the code behind:
GridViewComboBoxColumn ComboBoxCol = new GridViewComboBoxColumn();
ComboBoxCol.SetValue(RadComboBox.ClearSelectionButtonVisibilityProperty, "Visible");
ComboBoxCol.SetValue(RadComboBox.ClearSelectionButtonContentProperty, null);
But I get a runtime error, that "Visible" is no valid value for the property.
Any suggestions?
Thanks and Regards, Martin