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

How to show in django cms breadcrumbs full path? -

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -