Partager via


DatePicker.DisplayDateStart Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the first date to be displayed.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)

Syntax

'Declaration
<TypeConverterAttribute(GetType(DateTimeTypeConverter))> _
Public Property DisplayDateStart As Nullable(Of DateTime)
[TypeConverterAttribute(typeof(DateTimeTypeConverter))]
public Nullable<DateTime> DisplayDateStart { get; set; }
<sdk:DatePicker DisplayDateStart="dateTimeString"/>

XAML Values

  • dateTimeString
    A date specified in the format yyyy/mm/dd. The mm and dd components must always consist of two characters, with a leading zero if necessary. For instance, the month of May should be specified as 05.

Property Value

Type: System.Nullable<DateTime>
The first date to display.

Remarks

Dependency property identifier field: DisplayDateStartProperty

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.