using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; namespace Tango.FSE.Common.Controls { public class FSERoundedCornersComboBox : ComboBox { public CornerRadius CornerRadius { get { return (CornerRadius)GetValue(CornerRadiusProperty); } set { SetValue(CornerRadiusProperty, value); } } public static readonly DependencyProperty CornerRadiusProperty = DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(FSERoundedCornersComboBox), new PropertyMetadata(new CornerRadius(3))); static FSERoundedCornersComboBox() { DefaultStyleKeyProperty.OverrideMetadata(typeof(FSERoundedCornersComboBox), new FrameworkPropertyMetadata(typeof(FSERoundedCornersComboBox))); } } }