DatePicker.ToString Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Provides a text representation of the selected date.

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

public override string ToString()

Return Value

Type: System.String

A text representation of the selected date, or an empty string if SelectedDate is null.

.NET Framework
Available since 4.0
Available since 2.0
Return to top