问题描述
美好的一天
我想帮助隐藏一个 "删除"某些用户登录时的选项卡。除了在alter info页面中有权删除的管理员之外,每个人都应该隐藏该选项卡,如下图所示。
Good Day
I would like assistance with regards to hiding a "delete" tab on logon for certain users.The tab should be hidden from everyone except the admin who has rights to delete in the alter info page as shown in the image below.
问候
mcfee
推荐答案
问候
mcfee
嗨 mcfee,
我认为这是一个设计逻辑。
例如:
您可以为用户设置不同的规则。
也许管理员有一个字段 " CanDelete" ='true' 并绑定到TabItem
可见性=" {Binding CanDelete}"
最好的问候
$
Yong Lu
Hi mcfee,
I think this is a design logic.
For example:
You can have a different rules for users.
Maybe the admin has a field "CanDelete"= 'true' and binding to the TabItem Visibility="{Binding CanDelete}"
Best regards
Yong Lu
这篇关于隐藏某些用户的标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!