Skip to content

Commit 61f8b1b

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

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
@@ -16,7 +16,7 @@ res_type: kb
1616

1717
## Description
1818

19-
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.
19+
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:
2222
- How to make `GestureRecognizer` events work in EmptyContentTemplate?

0 commit comments

Comments
 (0)