Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
❔ Buttons xaml - C#
C
C#
•
4y ago
•
188 replies
tajgel
❔ Buttons xaml
I have 55 buttons and I want to change the text in each of them after clicking
, how can I do this without repeating the code 55 times in each method button1
_Click
, button2
_Click
, like this
: button1
.Text
=
"
+
"
;
, button2
.Text
=
"
+
"
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
✅ xaml
C
C# / help
9mo ago
❔ XAML
C
C# / help
3y ago
XAML Binding
C
C# / help
11mo ago
App.xaml
C
C# / help
17mo ago
Next page