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

How to run C# code using mono without Xamarin in Android? -

python - Specify path of savefig with pylab or matplotlib -

c# - SharpSsh Command Execution -