首页 新闻 赞助 找找看

WPF里Frame的内容如何能填充整个Frame

0
悬赏园豆:10 [待解决问题]

各位,小弟初学WPF,遇到个问题。

WPF的Grid里放了个Frame,打算导航时,通过切换Frame里的内容。

现我的一个Page的宽度大概500,怎么样在打开这个页面时,让Page的内容自动填充整个Grid页面呢?

谢谢

郑习坤的主页 郑习坤 | 初学一级 | 园豆:1
提问于:2016-01-15 15:56
< >
分享
所有回答(1)
-6

fit:true

 1 <div data-options="region: 'west'"  style="height:170px;width:260px;margin-top:5px;">  
 2                 <table id="table_menu" border="1" class="easyui-datagrid" title="" 
 3                     loadMsg="正在加载..."
 4                     toolbar="#toolbarDiv_menu"
 5                         data-options="fitColumns:true, fit:true,rownumbers:true,singleSelect:false,url:'/$!globals_sys_basename/web/plugins/bs/yygl/dz/g00000000/jtkt.xp?doAction=plugListJson&groupid=$groupid&pluginid=$pluginid',method:'post', pagination:false, pageSize:20">
 6                     <thead>
 7                         <tr>
 8                             <th data-options="field:'menuid', align:'center', checkbox:true"></th>
 9                             <th data-options="field:'menuname',align:'center',halign:'center', sortable:'true', width:120">菜单别名</th> 
10                             <th data-options="field:'caozuo',align:'center',halign:'center',  sortable:'true',width:100,formatter:caozuoFmat">操作</th> 
11                         </tr>
12                     </thead>
13                 </table>
14             </div> 
天涯687 | 园豆:159 (初学一级) | 2016-01-15 16:35
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册