Skip to content

Commit 9b934e6

Browse files
Update knowledge-base/collectionview-emptycontenttemplate-events-net-maui.md
Co-authored-by: Yordan <[email protected]>
1 parent 61f8b1b commit 9b934e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

knowledge-base/collectionview-emptycontenttemplate-events-net-maui.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ res_type: kb
1919
I am using the `EmptyContentTemplate` in the [CollectionView for .NET MAUI](https://docs.telerik.com/devtools/maui/controls/collectionview/overview) to display custom content when the `ItemsSource` is empty or null. Inside the template, `GestureRecognizer` and Button `Click` events are defined, but they do not execute as expected. This behavior occurs because the control's default implementation sets the template's transparency to `true`, which makes it ignore input events.
2020

2121
This knowledge base article also answers the following questions:
22-
- How to make `GestureRecognizer` events work in EmptyContentTemplate?
22+
- How to make `GestureRecognizer` events work in `EmptyContentTemplate`?
2323
- Why are Button `Click` events not firing in CollectionView `EmptyContentTemplate`?
2424
- How to disable transparency for `EmptyContentTemplate` in .NET MAUI CollectionView?
2525

0 commit comments

Comments
 (0)