Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. <my:AutoCompleteBox Grid.Row="0"
  2. Grid.Column="1"
  3. HorizontalAlignment="Left"
  4. Margin="0,6,0,0"
  5. Name="acTown"
  6. SelectedItem="{Binding NewTown, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  7. ValueMemberBinding="{Binding Converter={StaticResource TownConverter}}"
  8. Populating="Populating"
  9. VerticalAlignment="Top"
  10. Height="Auto"
  11. </my:AutoCompleteBox>
  12.  
  13. public void ClearTown()
  14. {
  15.  
  16. NewTown = null;
  17.  
  18. OnPropertyChanged("NewTown");
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement