我正在使用WPF中的RibbonController创建一个应用程序.
它工作正常,直到我安装.net 4.6.然后我的"RibbonGallery"处于禁用状态(Viewpoints Drop Down菜单).我试图通过Code启用但没有运气;(.
<Custom:RibbonGallery SelectedValue="Entrancelobby" SelectedValuePath="Content" ScrollViewer.VerticalScrollBarVisibility="Visible" MaxHeight="500">
<Custom:RibbonGalleryCategory Name="viewpointsList" FontFamily="Times New Roman" FontSize="14">
<Custom:RibbonGalleryItem Content="Entrancelobby" Foreground="Black" />
<Custom:RibbonGalleryItem Content="Entrancelobby 01" Foreground="Black"/>
<Custom:RibbonGalleryCategory>
</Custom:RibbonGallery>
Run Code Online (Sandbox Code Playgroud)
提前致谢...
我通过命令提示符传递命令行参数.(/d<name>=<value>).这是工作.
后来我"parameters"在"Run""Inno Setup 5"的菜单中找到了选项.我试过但没能通过.我的尝试
"/dWish=Hello"
/dWish=Hello
"Wish=Hello"
Wish="Hello"
Wish="Hello"
Wish=Hello
和访问一样{#Wish}.但编译提交错误undeclared identifier "Wish"
这是选项
