Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1255
XamComboEditor throws exception in VS Designer
posted

Since upgrading to v2014.1 VS studio designer will throw an exception "-Infinity is not a valid value for MinDropDownWidth" and will not render the xaml. However the application will build and run without showing this exception.

I believe the problem is in the EditorsGeneric or EditorsMetro.xaml "ComboEditor_EditableComboBoxTemplate" and "ComboEditor_NonEditableComboBoxTemplate"

if I change MinWidth="{Binding (igEditors:XamComboEditor.ComboEditor).MinDropDownWidthResolved, RelativeSource={RelativeSource TemplatedParent}}" to be a static value such as MinWidth="200", then the control will render in the designer.

So I think the MinDropDownWidthResolved should not return -infinity.

Parents Reply Children
No Data