-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Spec] Rounded Corners #10
Comments
Looks like Button has a CornerRadiusProperty already. Perhaps it should be extracted to a higher class in the tree perhaps View or VisualElement? |
Also make sure that if the element is set to have shadow, the shadow should be rounded too. |
Would the rounded corners clip the content of the control? |
What about single rounded corners on frame - like PancakeView? I think this is more desirable and wanted by xamarin devs. Thumbs up who agrees! |
Rounded Corners
Rounded Corners are a common visual requirement.
API
We need to add an interface for defining what's required for a View to implement corner rounding (and provide CSS support):
The CornerRadius BindableProperty can be implemented in one place:
The following Views are candidates for rounded corners:
Scenarios
C# Example
XAML Example
Difficulty: Medium
Providing the interface is simple; individual implementations may vary in difficulty.
The text was updated successfully, but these errors were encountered: