- Add comprehensive ControlGallery sample app with 12 pages demonstrating all 35+ controls - Add detailed ROADMAP.md with version milestones - Add README placeholders for VSIX icons and template images - Sample pages include: Home, Buttons, Labels, Entry, Pickers, Sliders, Toggles, Progress, Images, CollectionView, CarouselView, SwipeView, RefreshView 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 lines
523 B
C#
23 lines
523 B
C#
namespace ControlGallery.Pages;
|
|
|
|
public partial class ButtonsPage : ContentPage
|
|
{
|
|
private int _clickCount = 0;
|
|
|
|
public ButtonsPage()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void OnButtonClicked(object sender, EventArgs e)
|
|
{
|
|
_clickCount++;
|
|
ButtonResultLabel.Text = $"Button clicked {_clickCount} time(s)";
|
|
}
|
|
|
|
private async void OnImageButtonClicked(object sender, EventArgs e)
|
|
{
|
|
await DisplayAlert("ImageButton", "You clicked the ImageButton!", "OK");
|
|
}
|
|
}
|