Skip to content

Commit 99c4150

Browse files
committed
chore: remove unused RestoreSelectedItem
1 parent 79a63f5 commit 99c4150

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/Uno.UI/UI/Xaml/Controls/ComboBox/ComboBox.custom.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -352,15 +352,6 @@ void SetContentPresenterBinding(DependencyProperty targetProperty, string source
352352
return SelectedItem is ComboBoxItem cbi ? cbi.Content : SelectedItem;
353353
}
354354

355-
private void RestoreSelectedItem()
356-
{
357-
var selection = GetSelectionContent();
358-
if (selection is _View selectionView)
359-
{
360-
RestoreSelectedItem(selectionView);
361-
}
362-
}
363-
364355
/// <summary>
365356
/// Restore SelectedItem (or former SelectedItem) view to its position in the dropdown list.
366357
/// </summary>

0 commit comments

Comments
 (0)