wpf DependencyProperty Not accepting default value for short
- by biju
Hi,
I was trying to use tis depencency property in my code but it gives me error says that Default value type does not match type of property 'MyProperty'.But short should accept 0 as default value.Ans also if i try to give null as default value it works..even if its a non nullabel type.How come this happens..
public short MyProperty
{
…