forked from amkovkov/GranuSightSoftware2
feat: disable analysis buttons
capture button enabled when all combobox filled combobox buttons enabled when can interact
This commit is contained in:
@@ -161,6 +161,7 @@
|
||||
Grid.Row="3"
|
||||
HorizontalAlignment="Stretch"
|
||||
IsEditable="False"
|
||||
IsEnabled="{Binding CanInteract}"
|
||||
IsVisible="{Binding IsNewRecord}"
|
||||
ItemsSource="{Binding SeparatorComboBoxItems}"
|
||||
PlaceholderText="Тип сепаратора"
|
||||
@@ -201,6 +202,7 @@
|
||||
Grid.Row="3"
|
||||
HorizontalAlignment="Stretch"
|
||||
IsEditable="False"
|
||||
IsEnabled="{Binding CanInteract}"
|
||||
IsVisible="{Binding IsNewRecord}"
|
||||
ItemsSource="{Binding BrandComboBoxItems}"
|
||||
PlaceholderText="Марка пробы"
|
||||
@@ -1091,6 +1093,7 @@
|
||||
Command="{Binding CaptureImageCommand}"
|
||||
Grid.Row="1"
|
||||
HorizontalAlignment="Stretch"
|
||||
IsEnabled="{Binding CanCapture}"
|
||||
IsVisible="{Binding !ImagesIsCapturing}"
|
||||
>
|
||||
<TextBlock Text="Получить изображения"/>
|
||||
|
||||
Reference in New Issue
Block a user