mirror of
https://github.com/jwetzell/qController.git
synced 2026-07-26 10:38:50 +00:00
fe8bd257d1
- No more UDP - Lots of random refactoring as well
29 lines
659 B
C#
29 lines
659 B
C#
using Xamarin.Forms;
|
|
|
|
namespace qController
|
|
{
|
|
public class ShadowButton : Frame
|
|
{
|
|
public ShadowButton(Button b)
|
|
{
|
|
//Content = b;
|
|
HeightRequest = b.Height;
|
|
WidthRequest = b.Width;
|
|
CornerRadius = b.CornerRadius;
|
|
Padding = new Thickness(0);
|
|
Content = b;
|
|
HasShadow = true;
|
|
BorderColor = Color.Black;
|
|
IsVisible = false;
|
|
}
|
|
|
|
public ShadowButton()
|
|
{
|
|
HasShadow = true;
|
|
BorderColor = Color.Black;
|
|
IsVisible = false;
|
|
Padding = new Thickness(0);
|
|
}
|
|
}
|
|
}
|