Skip to content

Commit 3dc290f

Browse files
committed
Release 1.5.0
1 parent 5f5d49c commit 3dc290f

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

AutoCompleteTextBox/AutoCompleteTextBox/AutoCompleteTextBox.csproj

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
55
<TargetFrameworks>net452;net472;netcoreapp3.1;net5.0-windows;net6.0-windows</TargetFrameworks>
66
<UseWPF>true</UseWPF>
7-
<Version>1.4.0.0</Version>
7+
<Version>1.5.0.0</Version>
88
<PackageProjectUrl>https://github.com/quicoli/WPF-AutoComplete-TextBox</PackageProjectUrl>
99
<RepositoryType />
1010
<RepositoryUrl>https://github.com/quicoli/WPF-AutoComplete-TextBox</RepositoryUrl>
@@ -16,5 +16,18 @@
1616
Fix for issue #29.
1717
New event added: PreSelectionAdapterFinish
1818
</PackageReleaseNotes>
19+
<Description>An auto complete textbox and combo box for WPF</Description>
20+
<PackageIcon>AutoCompleteTextBox.png</PackageIcon>
21+
<PackageReadmeFile>README.md</PackageReadmeFile>
1922
</PropertyGroup>
23+
<ItemGroup>
24+
<None Include="..\..\README.md">
25+
<Pack>True</Pack>
26+
<PackagePath>\</PackagePath>
27+
</None>
28+
<None Include="..\Logo\AutoCompleteTextBox.png">
29+
<Pack>True</Pack>
30+
<PackagePath>\</PackagePath>
31+
</None>
32+
</ItemGroup>
2033
</Project>

README.md

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
Install:
7-
```PM> Install-Package AutoCompleteTextBox -Version 1.4.0```
7+
```PM> Install-Package AutoCompleteTextBox -Version 1.5.0```
88

99

1010
>WPF AutoComplete TextBox is an original work from [Bhardwaj Deepak](http://www.codeproject.com/Tips/801004/WPF-AutoComplete-TextBox)
@@ -29,26 +29,13 @@ This control originally features:
2929
6. Added property MaxPopupHeight. Setting this property, will limit the popup height to the size you wish.
3030
7. Much more from collaborators!
3131

32-
### What's new in version 1.4.0?
3332

34-
1. New event, **PreSelectionAdapterFinish** right before selection is finished allowing users to decide
35-
if it should close or not and providing the cause for it finishing.
36-
37-
```
38-
private void AutoCompleteTextBox_PreSelectionAdapterFinish(object sender, SelectionAdapter.PreSelectionAdapterFinishArgs e)
39-
{
40-
var box = sender as AutoCompleteComboBox;
41-
if (e.cause == SelectionAdapter.EventCause.EnterPressed)
42-
{
43-
if (box.ItemsSelector.SelectedItem == null && box.ItemsSelector.Items.Count == 1)
44-
box.ItemsSelector.SelectedItem = box.ItemsSelector.Items.GetItemAt(0);
45-
}
46-
}
47-
```
48-
49-
2. Fixed issue #29.
33+
### What's new in version 1.5.0?
5034

35+
1. property MaxPopupWidth : self explanatory :)
36+
This closes #39, allow MaxWidth to be set on popups
5137

38+
2. Bug fixes: #52, #45, #40
5239

5340

5441

0 commit comments

Comments
 (0)