我该如何找到包含名称为“audioPanel”的网格(Grid)元素,它在App.xaml中?
我已经尝试了以下代码:
我已经尝试了以下代码:
Grid found = this.FindChild<Grid>(^*我找不到任何合适的*^, "audioPanel");
相关链接:如何通过名称或类型查找WPF控件?
更新:App.xaml http://pastebin.com/KfWbjMV8
Grid
? - AnthonyWJones