Если в фреймворке нет способа сделать это, вы можете написать собственное расширение разметки:
public class ArrayTypeExtension
: MarkupExtension
{
public ArrayTypeExtension() {}
public ArrayTypeExtension(Type type)
{
this.Type = type;
}
public Type Type { get; set; }
public override object ProvideValue(IServiceProvider serviceProvider)
{
return Type == null ? null : Type.MakeArrayType();
}
}
Использование:
ExpressionType="{local:ArrayType sys:Byte}"
На самом деле, просто выполнить {x: Тип sys: Byte []}, кажется, работает.