Browse Source
Merge pull request #10247 from rabbitism/listbox
fix: fix ListBoxItem generation.
pull/10271/head
Max Katz
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/Avalonia.Controls/ListBox.cs
|
|
|
@ -104,6 +104,7 @@ namespace Avalonia.Controls |
|
|
|
public void UnselectAll() => Selection.Clear(); |
|
|
|
|
|
|
|
protected internal override Control CreateContainerForItemOverride() => new ListBoxItem(); |
|
|
|
protected internal override bool IsItemItsOwnContainerOverride(Control item) => item is ListBoxItem; |
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
protected override void OnGotFocus(GotFocusEventArgs e) |
|
|
|
|