细节信息页面修复
This commit is contained in:
commit
3f4a5a7cd8
4 files changed
+3
-3
No files matched your search
@@ -18,7 +18,7 @@ namespace SunlightAggregationTerminal.Converters
|
||||
|
||||
public object ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
|
||||
{
|
||||
// 单向绑定通常不需要实现,除非你需要双向绑定
|
||||
// 单向绑定
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,6 @@ namespace SunlightAggregationTerminal.Converters
|
||||
|
||||
public object ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
|
||||
{
|
||||
// 通常图片转回字符串在 UI 上很少用到,可以抛出异常或留空
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
<ContentPage.Resources>
|
||||
<ResourceDictionary>
|
||||
<converters:StringToImageConverter x:Key="StringToImageConverter" />
|
||||
<converters:StringToBoolConverter x:Key="StringToBoolConverter" />
|
||||
</ResourceDictionary>
|
||||
</ContentPage.Resources>
|
||||
<Grid RowDefinitions="Auto, Auto, *" ColumnDefinitions="*, Auto" >
|
||||
|
||||
+1
-1
@@ -84,7 +84,7 @@ public partial class InfoPage : ContentPage
|
||||
{
|
||||
WeakReferenceMessenger.Default.UnregisterAll(this);
|
||||
}
|
||||
|
||||
|
||||
private async void TapGestureRecognizer_Tapped(object sender, TappedEventArgs e)
|
||||
{
|
||||
// 将 sender 强制转换为 BindingContext 定义在 BindableObject
|
||||
|
||||
Reference in new issue
Block a user