Advanced Forum Search Results
-
This is probably not the best place to ask questions like that, but I need to start somewhere, and i didn't find the better place to ask questions.
So i need to write some programm which will be a long running progress. This program will run 2 months. So my first questions is which type of project i must create. Windows service, WCF service ...
-
Pipnaitez:
Did you solve this(FindName not working, when using ContentProperty attribute) problem??
-
Did anybody solve this(FindName not working, when using ContentProperty attribute) problem??
-
Thanks for confirming something that i was afraid of.
So, there is nothing that i can do. I really don't want that, since i need only one child, and in this case i must write all controls in code.
Thanks again.
-
Well i was missing static attribute. Subject closed.
static public DependencyProperty
-
Thanks a lot, i don't know how i missed that, since i read at least 10 articles about dependency properties.
-
Thank you, but this is not the isue. I have converter and this
dependency property works great if use it in xaml in control, but not
when using style.
I made a sample project with double type. Just run it, an error will be raised:
Invalid attribute value Test for property Property. [Line: 9 Position: 34]
My xaml: <UserControl ...
-
I write 2 same control which extend ContentControl. The only different between them is DefaultTemplateStyle.
The control with strange behaviour has the next xaml:
<Style TargetType="foraE:TNotWorkingControl">
<Setter Property="Template">
<Setter.Value>
...
-
Did you solve the problem. I get exactly the same error:
Invalid attribute value for property Property
I already asked for solution, but no one seems to know the source of the problem.
-
Ok still don't work, so i would appreciate any idea.
I reconstruct my property to:
DependencyProperty BorderShapeProperty = DependencyProperty.Register("BorderShape", typeof(eBorderShape), typeof(TBorder), new PropertyMetadata(eBorderShape.bsNone, new ...