对齐右侧文本框 [英] align right text box

查看:79
本文介绍了对齐右侧文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





如何将文本框对齐以与rdlc报告中的if条件对齐



i在报告中有一个名为is_arabic的参数值是真的然后文本应该是右对齐请帮帮我



关于Mehaboob

解决方案

这可以通过GUI轻松完成。选择文本框属性,然后在水平和垂直对齐下选择对齐选项,选择fx按钮(根据表达式给出它的选项),你的表达式可能如下所示:

 = iif(参数!is_arabic.Value = true,正确,左)





希望这会有所帮助。


hi,

How to align text box to align right with if condition in rdlc report

i have a parameter value in report named is_arabic its is true then the text should be right aligned please help me

regards Mehaboob

解决方案

This can easily be done with the GUI. Selecting the textbox properties, then selecting the Alignment option, beneath Horizontal and vertical alignments, select the fx button(gives it its option based on an expresion) your expresion could look something like this:

=iif(Parameters!is_arabic.Value = true,"Right","Left")

.

Hope this helps.


这篇关于对齐右侧文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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