Pregunta

I can't find a minimum date (MinDate) property in the calendar control in WPF 4.0.

If there is no minimum date or maximum date property in the calendar control then how could I achieve the same?

¿Fue útil?

Solución

Are you just looking to restrict the selectable beginning/ending dates? If so you can use DisplayDateStart and DisplayDateEnd:

    <Grid>
        <Calendar ... DisplayDateStart="5/1/2013" DisplayDateEnd="3/31/2014" />
    </Grid>
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top