zoukankan      html  css  js  c++  java
  • WPF x:Array的使用

    <Window x:Class="XamlTest.Window1"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:sys="clr-namespace:System;assembly=mscorlib"
            Title="Window1" Height="300" Width="300">
        <Grid>
            <ListBox>
                <ListBox.ItemsSource>
                    <x:Array Type="sys:String">
                        <sys:String>zhangsan</sys:String>
                        <sys:String>lisi</sys:String>
                        <sys:String>wangwu</sys:String>
                    </x:Array>
                </ListBox.ItemsSource>
            </ListBox>
        </Grid>
    </Window>
     
  • 相关阅读:
    鼠标效果
    全选与全不选
    正则表达式
    下拉菜单
    图片轮播
    弹出层
    间隔与延时
    JS基础
    引入
    样式表 文字
  • 原文地址:https://www.cnblogs.com/robertyao/p/11715519.html
Copyright © 2011-2022 走看看