© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
6 replies
Usman

How to pass custom arguments to MAUI button click

So I am a JavaScript dev and recently started learning MAUI and C#.
I still dont know much about C# but I am familiar with basic stuff.

I wanted to ask that I want to have a button in my MAUI app
and when one clicks on it, that fetches data from the GitHub API but I need some custom query params in it
So I was confused to how can I pass in custom query params through arguments in this method I created
unknown.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Button Click
C#CC# / help
3y ago
How to hide Back Button in Maui 8 Appshell
C#CC# / help
11mo ago
✅ Pass in arguments to a generic constructor
C#CC# / help
2y ago