Did you set the
x:DataType
for the control in your library project?
x:DataType
for the control in your library project?