|
50 | 50 | IsEnabled="{Binding !IsPower}" |
51 | 51 | ItemsSource="{Binding SerialPorts}" |
52 | 52 | PlaceholderText="Select port" |
53 | | - SelectedValue="{Binding SerialPort}"> |
| 53 | + SelectedItem="{Binding SerialPort}"> |
54 | 54 | <i:Interaction.Behaviors> |
55 | 55 | <ia:EventTriggerBehavior EventName="DropDownOpened"> |
56 | 56 | <ia:InvokeCommandAction Command="{Binding UpdateSerialPortsCommand}" /> |
|
71 | 71 | IsEnabled="{Binding !IsPower}" |
72 | 72 | ItemsSource="{Binding BaudRates}" |
73 | 73 | PlaceholderText="Select port speed" |
74 | | - SelectedValue="{Binding SerialSpeed}" /> |
| 74 | + SelectedItem="{Binding SerialSpeed}" /> |
75 | 75 |
|
76 | 76 | <Label |
77 | 77 | Grid.Row="2" |
|
86 | 86 | IsEnabled="{Binding !IsPower}" |
87 | 87 | ItemsSource="{Binding DataBits}" |
88 | 88 | PlaceholderText="Select data bits" |
89 | | - SelectedValue="{Binding SerialBit}" /> |
| 89 | + SelectedItem="{Binding SerialBit}" /> |
90 | 90 |
|
91 | 91 | <Label |
92 | 92 | Grid.Row="3" |
|
101 | 101 | IsEnabled="{Binding !IsPower}" |
102 | 102 | ItemsSource="{Binding ParityTypes}" |
103 | 103 | PlaceholderText="Select parity" |
104 | | - SelectedValue="{Binding SerialParity}" /> |
| 104 | + SelectedItem="{Binding SerialParity}" /> |
105 | 105 |
|
106 | 106 | <Label |
107 | 107 | Grid.Row="4" |
|
116 | 116 | IsEnabled="{Binding !IsPower}" |
117 | 117 | ItemsSource="{Binding StopBits}" |
118 | 118 | PlaceholderText="Select stop bits" |
119 | | - SelectedValue="{Binding SerialStopBit}" /> |
| 119 | + SelectedItem="{Binding SerialStopBit}" /> |
120 | 120 |
|
121 | 121 | <Label |
122 | 122 | Grid.Row="5" |
|
131 | 131 | IsEnabled="{Binding !IsPower}" |
132 | 132 | ItemsSource="{Binding FlowControlTypes}" |
133 | 133 | PlaceholderText="Select flow control" |
134 | | - SelectedValue="{Binding SerialHandshake}" /> |
| 134 | + SelectedItem="{Binding SerialHandshake}" /> |
135 | 135 |
|
136 | 136 | <Label |
137 | 137 | Grid.Row="6" |
|
0 commit comments