G
Gordon Padwick
I've spent the last few days trying to understand how to use FindName. I
have some success, but problems remain.
Unfortunately, the books aboout C# and WPF I have don't contain detailed
information about FindName--perhaps they do, but if so, the indexes don't
refer to it (that's a major complaint I have about computer books--their
indexes don't adequately refer to the subject matter).
One of the most helpful resources I've found to help me understand FindName
is the Visual Studio 2008 help topic "Finding Template-Generated Elements
Sample.".
The sample contains some code that I don't understand and about which I
haven't been able to find information.
The Windows1.xaml file contains the directive:
xmlns:local=clr-namespace:FindGeneratedItems
Can someone explain significance of "xmlns:local"? I find this frequently
used in examples, but haven't been able to find an explanation.
The definition of a StackPanel in the same sample contains:
XPath="Books/Book"
What is XPath? What is the significance of "Books/Book"?
I'll greatly appreciate specific answers or pointers to sources of
information.
Gordon Padwick
have some success, but problems remain.
Unfortunately, the books aboout C# and WPF I have don't contain detailed
information about FindName--perhaps they do, but if so, the indexes don't
refer to it (that's a major complaint I have about computer books--their
indexes don't adequately refer to the subject matter).
One of the most helpful resources I've found to help me understand FindName
is the Visual Studio 2008 help topic "Finding Template-Generated Elements
Sample.".
The sample contains some code that I don't understand and about which I
haven't been able to find information.
The Windows1.xaml file contains the directive:
xmlns:local=clr-namespace:FindGeneratedItems
Can someone explain significance of "xmlns:local"? I find this frequently
used in examples, but haven't been able to find an explanation.
The definition of a StackPanel in the same sample contains:
XPath="Books/Book"
What is XPath? What is the significance of "Books/Book"?
I'll greatly appreciate specific answers or pointers to sources of
information.
Gordon Padwick