小编Fro*_*cal的帖子

在我的带有 elementor 的页面中找不到内容区域

我刚开始使用 Wordpress,几周前我发布了一个网站。今天我想编辑主页,但我收到以下错误:

Sorry, the content area was not found in your page. You must call the_content function in the current template, in order for Elementor to work on this page.

我还没有编辑过我的主页,几周前它运行良好。有没有人可以帮我解决这个问题?

wordpress elementor

2
推荐指数
1
解决办法
5868
查看次数

如何使用按钮将多个参数传递给 WPF 命令?

目前我的代码如下所示:

<Button Command="{Binding DrinkCommand}" CommandParameter="Capuccino" Style="{StaticResource DrinkButton}">
    <TextBlock>Capuccino</TextBlock>
</Button>
<Button Command="{Binding DrinkWithSugarCommand}" CommandParameter="Capuccino" Style="{StaticResource DrinkButton}">
    <TextBlock>Capuccino + sugar</TextBlock>
</Button>
Run Code Online (Sandbox Code Playgroud)

你可以看到我RelayCommand对加糖和不加糖的卡布奇诺有不同的选择。

我想添加添加额外牛奶的选项。但是我会得到:

DrinkCommand,

DrinkWithSugarCommand,

DrinkWithMilkCommand,

DrinkWithSugarAndMilkCommand

有没有办法让他们知道DrinkCommand我想要加糖和/或牛奶的饮料(卡布奇诺)?

c# wpf xaml

1
推荐指数
1
解决办法
1557
查看次数

标签 统计

c# ×1

elementor ×1

wordpress ×1

wpf ×1

xaml ×1