c# - Caliburn.Micro Value Converter -


in wpf mvvm (caliburn micro) application need bind datetimeoffset property wpf datepicker control (selecteddate property).

i think can use caliburn micro's value converter feature convert datetimeoffset datetime , vice versa. please provide me steps sample code?

<datepicker selecteddate="{binding dateofbirth}"/> 

<datepicker selecteddate="{binding dateofbirth, converter={staticresource dateconverter}}" /> means need write converter datetime datetimeoffset. not hard. has nothing caliburn micro, not sure docs referring to..


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -