WPF XAML中表示运算符

WPF XAML中表示运算符

  1. 引用System名称空间,以输入string类型的直接内容
  2. 引用集合的名称控件,以使用ArrayList来在XAML中创建集合
<genric:ArrayList x:Key="HiString">
            <system:String>+system:String>
            <system:String>-system:String>
            <system:String>+;-system:String>
        genric:ArrayList>
<ComboBox ItemsSource="{Binding Source={StaticResource HiString}}"> 

你可能感兴趣的:(WPF技术,c#,wpf)