InvalidCastException is thrown when binding PropertyGrid.Item to collection. The exception is thrown in \\Core\Data\Extensions\FuncExtensions.cs. Unable to cast object of type 'System.Collections.Generic.List`1[System.Windows.Window]' to type 'Telerik.Windows.Controls.Data.PropertyGrid.PropertySet'. Resolved with LIB version 2014.1.317
GetStandardValuesSupported and GetStandardValues methods of a type converter are not called. Available in the 2017 R1 Release (2017.1.117).
Should be resolved with lib version 2014.3.1124.
Foreground defined within PropertyGridField's Label Style is not applied in Expression_Dark theme.
RadPropertyGrid exposes PropertySetsValidationFunc property that validates the new value of a property. However, it is executed after the property is set. PropertyGrid should validate them before the setter is invoked. Available in LIB version: 2017.2.605
Available in the 2017 R2 Release.
Nullable properties with non-matching values are not updated after clearing the entire text of the field(PropertySets). Available in LIB version: 2017.2.515
The editor of nullable properties with non-matching values does not display the default value for this type(null) using PropertySets. Available in LIB version: 2017.2.515
If you have a data validation, and there is an invalid field with the red border around it, if you hide this field via the filtering feature or the collapsing its group, the validation red border (and the tooltip) disappears.
To resolve this, you will need to update the ErrorTemplate of the input field (the TextBox). You can do this in the FieldLoaded event handler.
private
void
RadPropertyGrid_FieldLoaded(
object
sender, Telerik.Windows.Controls.Data.PropertyGrid.FieldEventArgs e)
{
if
(e.Field.Content
is
TextBox)
{
var editor = (TextBox)e.Field.Content;
var bindingExpression = BindingOperations.GetBindingExpression(editor, TextBox.TextProperty);
if
(bindingExpression.ValidationError !=
null
)
{
var errorTemplate = Validation.GetErrorTemplate(editor);
Validation.SetErrorTemplate(editor,
null
);
Validation.SetErrorTemplate(editor, errorTemplate);
}
}
BindingMode is OneWay when there is editor template and PropertySetMode is None Resolved with LIB version 2014.1.407.