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

TimePicker TextAlignment

Nov 13, 2012 at 10:26 AM

Hi,

Is there any reason TextAlignment is not available on the TimePicker (DateTimePicker exposes this Property) and is the anyway to set this via xaml?



this is not working...

<xctk:TimePicker.Resources>     <Style TargetType="{x:Type xctk:WatermarkTextBox}">         <Setter Property="TextAlignment" Value="Left" />     </Style> </xctk:TimePicker.Resources>

but the following on a DateTimePicker does...

<xctk:DateTimePicker.Resources>
    <Style TargetType="{x:Type xctk:TimePicker}">
        <Setter Property="Visibility" Value="Collapsed" />
    </Style>
</xctk:DateTimePicker.Resources>

Many Thanks

Cesare

Nov 13, 2012 at 4:16 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.