如何在WPF中的RunTime程序中创建网格 [英] How to Create Grid in RunTime Program in WPF

查看:66
本文介绍了如何在WPF中的RunTime程序中创建网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我是Requiered在RunTime软件中加载此网格。请帮助我。

网格代码XAML是:

Hi All
I am Requiered Load This Grid In RunTime Software. Please Help To Me.
The Code XAML Of Grid is:

<Grid Name="GiridParam" Height="31" Margin="0">    <TextBlock TextWrapping="Wrap" Margin="0" Text="name" TextAlignment="Right"/>
    <TextBlock TextWrapping="Wrap" Text="Note" TextAlignment="Right" />
    <ComboBox x:Name="comParamname1" Margin="0,0,14.367,0" Height="25" VerticalAlignment="Top" HorizontalAlignment="Right" Width="45.633" >
        <ComboBoxItem Content="B"/>
        <ComboBoxItem Content="F"/>
        <ComboBoxItem Content="L"/>
        <ComboBoxItem Content="M"/>
        <ComboBoxItem Content="P"/>
        <ComboBoxItem Content="P1"/>
    </ComboBox>
    <TextBox x:Name="txtParamNote1" Margin="0,0,98,0" TextWrapping="Wrap"  />
</Grid>



用户输入数字,我可以为用户加载此网格。

请帮帮我。


user Enter Number And My Could Load This Grid For User.
Please Help To Me.

推荐答案

这篇关于如何在WPF中的RunTime程序中创建网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆