Is it possible to pass a NULL type to arguments of a general XAML type (x: TypeArguments)?
I have:
<base:ControlBase
x:TypeArguments="sys:Int32"
...
I need Int32 to be null. sort of
<base:ControlBase
x:TypeArguments="sys:Nullable<sys:Int32>"
...
Which seems to be invalid XML / XAML.
I tried to declare it as an sys:Nullabe<sys:Int32>error:
'sys.Nullable' is not a valid type name name for a generic argument
source
share