This project has moved and is read-only. For the latest updates, please go here.

CornerRadius for DecimalUpDown

Jan 27, 2014 at 11:09 AM
Hi!

I am trying to override the standard style for DecimalUpDowns with a CornerRadius, but it won't let me add this variable.
<Style TargetType="xctk:DecimalUpDown">
        <Setter Property="Height" Value="20" />
        <Setter Property="FontSize" Value="11" />
        <Setter Property="FontFamily" Value="Microsoft Sans Serif" />
        <Setter Property="TextOptions.TextRenderingMode" Value="Aliased" />
        <Setter Property="TextOptions.TextFormattingMode" Value="Display" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="BorderBrush" Value="{StaticResource BorderNormal}" />
    </Style>
Anyone help me out on this? I just want to know how to allocate a CornerRadius for the DecimalUpDown template.
Developer
Jan 27, 2014 at 1:46 PM