you probably need to include the type then. so either do it inline like this: converterparameter={x:int32 100}
.
or write it more verbose:
<label>
<label.text>
<binding path="information" converter="{staticresource cutstringconverter}">
<binding.converterparameter>
<x:int32>100</x:int32>
</binding.converterparameter>
</binding>
</label.text>
</label>
or, to be complete, add a static resource to your page (or whatever the container is), like:
<contentpage.resources>
<x:int32 x:key="inthundred">100</x:int32>
</contentpage.resources>
and reference that: converterparameter={staticresource inthundred}
try using
x:static
markup extension:or, you could just pass a string and use
enum.parse
to convert that string to the enum type in the converter:-