none
TimePicker in XAML

    Question

  •  

    Hi,

     

         Is there any Time Picker control in WPF with 12 hour Format(AM/PM).

     

    Thanks

    Senthil

    Tuesday, January 29, 2008 7:46 AM

Answers

  • And what about WinForm-Controls?


    Code Snippet

    <Page

      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

      xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms">

      <Grid>

        <WindowsFormsHost>

          <wf:DateTimePicker/>

        </WindowsFormsHost>

      </Grid>

    </Page>



    Tuesday, January 29, 2008 8:29 AM
  • The following link is an example which is a simple time picker control. You can modify the example to echance it. I hope this helps.

     

    http://www.cnblogs.com/Files/sheva/TimePicker.zip

     

    Best Regards,

    Wei Zhou

    Friday, February 01, 2008 2:09 AM

All replies