Hi Jim, hi Hari,
thank you very much both for your help. This is the syntax I finally used:
Public ReadOnly TitleProperty As DependencyProperty = DependencyProperty.Register("Title", GetType(String), GetType(CustomEntryControl), Nothing)
Public Property Title() As String
Get
Return CType(GetValue(TitleProperty), String)
End Get
Set(ByVal value As String)
SetValue(TitleProperty, value)
End Set
End Property
Unfortunately the problem persisted, so I started randomly delving in the rest of the code in the hunt of the culprit, and surprise! Now it magically disappeared, and I cannot recall what did fix it! I someone encounters the same issue please let me know and I can send the entire code. I wish you a good day!
Best regards,
Dario Rossa