diff --git a/src/Avalonia.Controls/AutoCompleteBox.cs b/src/Avalonia.Controls/AutoCompleteBox.cs
index 16b7d09e8a..22b09ef110 100644
--- a/src/Avalonia.Controls/AutoCompleteBox.cs
+++ b/src/Avalonia.Controls/AutoCompleteBox.cs
@@ -257,18 +257,12 @@ namespace Avalonia.Controls
///
Replace = 0,
- ///
- /// Specifies that the selected autocomplete result
- /// will be appended to the text.
- ///
- Append = 1,
-
///
/// Specifies that a custom selector is used. This mode is used when
/// the
/// property is set.
///
- Custom = 2
+ Custom = 1
}
///
@@ -657,7 +651,6 @@ namespace Avalonia.Controls
switch (mode)
{
case AutoCompleteMode.Replace:
- case AutoCompleteMode.Append:
case AutoCompleteMode.Custom:
return true;
default:
@@ -2774,8 +2767,6 @@ namespace Avalonia.Controls
{
case AutoCompleteMode.Replace:
return Replace;
- case AutoCompleteMode.Append:
- return Append;
case AutoCompleteMode.Custom:
default:
return null;
@@ -2795,19 +2786,6 @@ namespace Avalonia.Controls
{
return value ?? String.Empty;
}
-
- ///
- /// Implements AutoCompleteMode.Append.
- ///
- /// The AutoCompleteBox prefix text.
- /// The item's string value.
- ///
- /// Returns the concatenated string.
- ///
- private static string Append(string text, string value)
- {
- return text + value;
- }
}
///