c# - Setting nullable TimeSpan in XAML -


i creating style player mediaplayerframework , in xaml style want set 2 properties (skipaheadinterval , skipbackinterval) of type timespan?.

i tried

<setter property="skipaheadinterval" value="00:00:20.00" /> 

but getting

cannot assign nullable type on property skipaheadinterval 

is there way in xaml?

have considered using valueconverter , handling nullable within valueconverter scope?


Comments

Popular posts from this blog

tcpdump - How to check if server received packet (acknowledged) -