Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道如何或在哪里可以找到可以在标准 ASP.NET 控件的外观文件中定义的属性列表?
谢谢
根据我的经验,您可以设置所有控件的所有属性。我刚刚做了一个小测试,发现甚至可以在皮肤文件的ListBox中定义要显示的项目。
我相信默认情况下每个属性都是可主题的。但是,许多属性都标有 Themeable(false) 属性。例如,asp:Button 的 OnClientClick 属性标记为 Themeable(false)。
不过,不知道如何把这个列表放在前面。当您查看页面并且皮肤文件尝试设置非主题属性时,您将收到错误消息。