mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-22 12:56:29 +02:00
Toggle either bike id input controls and lock management view implemented.
This commit is contained in:
parent
892563ac0f
commit
0c0baf1b10
3 changed files with 33 additions and 6 deletions
|
@ -12,11 +12,14 @@
|
|||
<Frame>
|
||||
<StackLayout>
|
||||
<Entry
|
||||
Placeholder="Bike id hier eingeben"
|
||||
Placeholder="Fahrrad-Nummer bitte hier eingeben"
|
||||
IsVisible="{Binding IsSelectBikeVisible}"
|
||||
Text="{Binding BikeIdUserInput}">
|
||||
</Entry>
|
||||
<Button
|
||||
Text="Wählen"
|
||||
<Button
|
||||
Text="Rad Wählen"
|
||||
IsEnabled="{Binding IsSelectBikeEnabled}"
|
||||
IsVisible="{Binding IsSelectBikeVisible}"
|
||||
Command="{Binding OnSelectBikeRequest}">
|
||||
</Button>
|
||||
<ListView
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace TINK.View.Settings
|
|||
/// <returns>Boolean value indicating whether object is visible or not.</returns>
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
return ((Permissions)(value)).HasFlag(VisibleFlag);
|
||||
return ((Permissions)value).HasFlag(VisibleFlag);
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue