I\'ve got a usercontrol that I want to put in a FixedDocument, but before I do that I need to change the text of a label. I think I need to use Dependency Properties.
H
Change LabelCaptionDP
to LabelCaptionProperty
.
From Dependency Properties Overview:
The naming convention of the property and its backing DependencyProperty field is important. The name of the field is always the name of the property, with the suffix Property appended. For more information about this convention and the reasons for it, see Custom Dependency Properties.
Please read about Dependency Property Name Conventions in Custom Dependency Properties.