Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcDropDownCalendar Class / SelectedDate Property


In This Topic
    SelectedDate Property
    In This Topic
    Gets or sets the selected date, the first date in the selection or a null reference (Nothing in Visual Basic) if the selection is empty. This is a dependency property.
    Syntax
    'Declaration
     
    <BindableAttribute(True)>
    <TypeConverterAttribute(System.ComponentModel.DateTimeConverter)>
    Public Property SelectedDate As Nullable(Of Date)
    'Usage
     
    Dim instance As GcDropDownCalendar
    Dim value As Nullable(Of Date)
     
    instance.SelectedDate = value
     
    value = instance.SelectedDate
    [Bindable(true)]
    [TypeConverter(System.ComponentModel.DateTimeConverter)]
    public Nullable<DateTime> SelectedDate {get; set;}

    Property Value

    The selected date.
    See Also