如何制作具有多列的Web部件 [英] How to make Web parts with multi columns

查看:124
本文介绍了如何制作具有多列的Web部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好;

我的项目中有Web部件控件,

Web部件的布局方向属性可以是垂直"或水平".

但是我想同时在垂直和水平方向上添加控件的升,降,右,上和下.

Hi guys;

I have Web Parts control in my project,

Layout orientation property of Web Parts can be Vertical or Horizontal.

But i want both Vertical and Horizontal at the same time to add controls lift, right,up and down.

How to do that please

推荐答案

一次,itz不可能同时设置两个方向.代替以声明的方式定义,我们可以根据要求采用程序化的方式.意思是,后面的代码可以使用语句"MyWebPartZone.LayoutOrientation = Orientation.Horizo​​ntal"来更改布局方向.
At a time, itz not possible to set both orientation. In stead of defining in declarative way, we can adopt programmetic way as per the requirment. Meaning, the code behind can alter layout orientation using statement ''MyWebPartZone.LayoutOrientation = Orientation.Horizontal''.


这篇关于如何制作具有多列的Web部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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