Advanced Forum Search Results
-
One more thing. Its no problem for me to handle the event in the custom control where the event occurs. My problem is being able to handle the event in the class where the event is embedded. Do you know what I mean?
-
Any chance you could provide some code snippits of a very simple example?
All I want is a cutom control that contains a button. When that button is clicked, I want the code behind of the xaml that where the custom control is embedded to pick that event up. That is all I need.
-
How do I write an event on a custom control so that the xmal file that is consuming the custom control can be notified if something happens?
For example, want to expose the click event on my custom control as an event that the control that is consuming it can use to fire off a query.
Thanks in advance.
-
OK, Im going on my second day at this issue.
Step 1: I have created a custom UserControl. It contains a text box and a button. It also contains a dependency property named "Offset"
Step 2: In a DIFFERENT xaml file, I have a reference to this user control. I then add the control as an element to ...
-
No. Can you give me an example of what you are talking about?
-
I have created a custom control. I have then written a dependency property for that custom control named "Offest". When I hard code the value of Offset, it works just fine. Here is the xaml for my custom control:
<scdg:SamsChoiceDataPager Grid.Row="0" Offset="5"/>
This works fine. ...
-
I understand how to create a completely new custom control, but I want to extend an existing control. How would I extend the label control?
-
I want to extend an exitsing control. For example, say I wanted to extend a label to include a textbox directly below the label. How would I go about performing this task? Would I modify the generic.xaml file, or is there another way to pull it off?
-
wow. It's rare that you actually get a response that is exactly correct. Thank you Tom.
-
How do I retrieve data from a datagrids selected items?
I have a datagrid with one column of integers. The user selects say 3 rows, (or three integer). Now I want to loop through those selected items and find the ones that are selected. How do I do that?