Closed iq2luc closed 1 year ago
Let me take a look...
Thank you for the proposed solution. Have implemented in v1.2.2.
Thank you for the proposed solution. Have implemented in v1.2.2.
Thank you for the quick resolution and also, again, for this very useful tool (I'm so glad I found it).
Subject
Preview fails if the dimensions of the control cannot be directly obtain from the XML by converting the attribute value to a number (e.g. when the value is bound to a data model variable).
Details
If the preview-able control has
Width
/MinWidth
/MaxWidth
and / orHeight
/MinHeight
/MaxHeight
bound to a data model variable, not just simple numbers in the XML, the preview fails with the errorThe input string '{Binding Path=ViewWidth}' was not in a correct format
.Screenshot
Proposed solution (workaround?)
The following patch fixes the issue for me:
Note: If the above patch looks technically offending :-) please take into consideration I don't have any previous experience with the AvantGarde source code, and I only spent about 5 minutes investigating the problem.
Thank you
Please allow me to take this opportunity to thank you and express my infinite gratitude for developing this indispensable tool.