wpftoolkit - WPF Datepicker Control None option(WPF ToolKit) -
how provide option select no dates(none) in datepicker control?
please help!!
thanks sharath
now, have installed wpf toolkit , tried it...
i found out if manually delete text in textbox part of datepicker, selecteddate
deleted. optionally, can add button deletes selecteddate
directly.
wpf code:
<my:datepicker name="datepicker1" height="26" xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" /> <button name="btndeletedate" height="26" width="90">set no date</button>
code behind (vb):
private sub btndeletedate_click(byval sender system.object, byval e system.windows.routedeventargs) handles btndeletedate.click datepicker1.selecteddate = nothing end sub
if want todays date not highlighted grey, can set istodayhighlighted
false.
it still "active date" though, visible box around date kind of "cursor" start point if move around arrows on keybord. not same selecteddate
, selected date set when start move around.
Comments
Post a Comment