20 lines
554 B
C#
20 lines
554 B
C#
using Avalonia;
|
|
using Avalonia.Controls;
|
|
|
|
namespace Material.Styles.Controls
|
|
{
|
|
public class Card : ContentControl
|
|
{
|
|
public static readonly StyledProperty<bool> InsideClippingProperty =
|
|
AvaloniaProperty.Register<Card, bool>(nameof(InsideClipping), true);
|
|
|
|
/// <summary>
|
|
/// Get or set the inside border clipping.
|
|
/// </summary>
|
|
public bool InsideClipping
|
|
{
|
|
get => GetValue(InsideClippingProperty);
|
|
set => SetValue(InsideClippingProperty, value);
|
|
}
|
|
}
|
|
} |