by Anonymous » 25 Aug 2025, 16:25
Ich habe Probleme beim Festlegen des Datentyps für einen Picker, da es sich bei der Eigenschaft um eine Schnittstelle handelt, in der die Quelle nicht ausgesetzt ist.
Code: Select all
x:DataType="{x:Type model:GPSViewModel}"
SelectedItem="{Binding CurrentDevice.BaudRate, Mode=TwoWay}" />
< /code>
CurrentDevice
ist eine Eigenschaft in GPSViewModel :
Code: Select all
public class GPSViewModel
{
public IDevice CurrentDevice { get; set; }
}
< /code>
In IDevice
gibt es keine BaudRatesource oder Baudrate Eigenschaft. Ich brauche)?
[url=viewtopic.php?t=18848]Ich habe Probleme[/url] beim Festlegen des Datentyps für einen Picker, da es sich bei der Eigenschaft um eine Schnittstelle handelt, in der die Quelle nicht ausgesetzt ist.[code]
x:DataType="{x:Type model:GPSViewModel}"
SelectedItem="{Binding CurrentDevice.BaudRate, Mode=TwoWay}" />
< /code>
CurrentDevice[/code] ist eine Eigenschaft in GPSViewModel :
[code]public class GPSViewModel
{
public IDevice CurrentDevice { get; set; }
}
< /code>
In IDevice[/code] gibt es keine BaudRatesource oder Baudrate Eigenschaft. Ich brauche)?[code]
[/code]