码迷,mamicode.com
首页 > 其他好文 > 详细

XAML 工具栏的添加

时间:2015-01-14 00:37:13      阅读:197      评论:0      收藏:0      [点我收藏+]

标签:

添加工具栏
Grid>
        <DockPanel>
            <ToolBar DockPanel.Dock ="Top">
                <Button Name ="btsave" Click="btsave_Click">
                    <Button.Content>
                        <Image Source ="1.png" Width="20" ></ Image>
                    </Button.Content>
                </Button>
                <Button >
                    <Button.Content>
                        <Image Source ="2.png" Width="20"></ Image>
                    </Button.Content>
                </Button>
                <Button >
                    <Button.Content>
                        <Image Source ="3.png" Width="20"></ Image>
                    </Button.Content>
                </Button>
            </ToolBar>
            <TextBox DockPanel.Dock ="Bottom" Name="txtName"></ TextBox>
        </DockPanel>
    </Grid>

XAML 工具栏的添加

标签:

原文地址:http://www.cnblogs.com/myinformationtechnology/p/4222855.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!