Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce StatefulContentView #108

Merged
merged 7 commits into from
Nov 19, 2022
Merged

Introduce StatefulContentView #108

merged 7 commits into from
Nov 19, 2022

Conversation

enisn
Copy link
Owner

@enisn enisn commented Nov 19, 2022

It's used to make custom buttons or clickable area.

Simple usage.

<views:StatefulContentView LongPressCommand="{Binding DoSomethingCommand}">
    <Border Padding="20" BackgroundColor="{StaticResource Primary}" Stroke="{StaticResource Tertiary}" StrokeShape="{RoundRectangle CornerRadius=5}">
        <Label Text="This is a stateful view" TextColor="{StaticResource OnPrimary}" />
    </Border>
</views:StatefulContentView>

@enisn enisn merged commit 6c48707 into develop Nov 19, 2022
@enisn enisn deleted the statefulview branch November 19, 2022 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant