문제

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?

도움이 되었습니까?

해결책

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>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top