用dnspy导出的工程问题
用dnspy导出的工程生成的时候有一堆问题:<!--类 'Command.HoverInfoOptions' 有 IComponentConnector.Connect 方法,但无法解析。-->
<UserControl
x:Class="Command.HoverInfoOptions" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:xc="http://schemas.xceed.com/wpf/xaml/toolkit" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:Command"
Background="#00FFFFFF">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="50" />
<ColumnDefinition
Width="*" />
<ColumnDefinition
Width="50" />
</Grid.ColumnDefinitions>
<PropertyGrid
Grid.Column="1"
FrameworkElement.VerticalAlignment="Stretch"
PropertyGrid.ShowSortOptions="False"
PropertyGrid.ShowSearchBox="False"
PropertyGrid.ShowAdvancedOptions="False"
PropertyGrid.ShowTitle="False"
PropertyGrid.SelectedObject="{Binding}" xmlns="clr-namespace:Xceed.Wpf.Toolkit.PropertyGrid;assembly=Xceed.Wpf.Toolkit" />
</Grid>
</UserControl>
这个代码报故:XML 命名空间“clr-namespace:Xceed.Wpf.Toolkit.PropertyGrid;assembly=Xceed.Wpf.Toolkit”中不存在属性“Grid.Column”。
<UserControl
x:Class="Command.ScoringGraphControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf" xmlns:local="clr-namespace:Command">
<Grid>
<lvc:CartesianChart
Chart.LegendLocation="Right">
<base:Chart.Series xmlns:base="clr-namespace:LiveCharts.Wpf.Charts.Base;assembly=LiveCharts.Wpf">
<lvc:StepLineSeries
Series.Title="Player Score"
Series.Values="{Binding PlayerScore}" />
</base:Chart.Series>
<Chart.DataTooltip xmlns="clr-namespace:LiveCharts.Wpf.Charts.Base;assembly=LiveCharts.Wpf">
<local:ScoringGraphDataTooltip
SelectionMode="SharedXInSeries" />
</Chart.DataTooltip>
</lvc:CartesianChart>
</Grid>
</UserControl>
这个代码报故:XML 命名空间“http://schemas.microsoft.com/winfx/2006/xaml/presentation”中不存在属性“Chart.LegendLocation”。
</Setter>
<Setter
Property="HorizontalScrollBarVisibility"
Value="Auto" />
<Setter
Property="VerticalScrollBarVisibility"
Value="Auto" />
<Setter
Property="CanContentScroll"
Value="True" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="{x:Type ListBox}">
这个报故:无法在类型“System.Windows.Controls.ListBox”上找到 Style Property“HorizontalScrollBarVisibility”。
<Style xmlns:controls="clr-namespace:Odyssey.Controls;assembly=Odyssey"
TargetType="{x:Type controls:OdcExpander}"
x:Key="{x:Type controls:OdcExpander}">
<Setter
这个报故:类型引用无法找到名为“OdcExpander”的公共类型。
其他一些问题解决了,这个几个很奔溃
已解决!!!!
页:
[1]