Advanced Forum Search Results
-
Luis,
Thanks for your help! I was indeed not specifying the event args in my handler properly.
-
I want to catch the MouseLeftButtonDown event when my Text Block is Left Clicked. When I add the MouseLeftButtonDown="OnMouseDown" code to my XAML code below I get the above error message. Any ideas how to do this?
<TextBlock x:Name="catchMLBD" MouseLeftButtonDown="OnMouseDown" ...
-
I want to add a simple property trigger to my path preferably with XAML syntax. When the mouse is over my path I want the Stroke to change color from Black to yellow.
What would be the XAML syntax for this? Thanks<Canvas xmlns="http://schemas.microsoft.com/client/2007" ...
-
Swirlingmass! Thanks for your help! It is true that you can't reuse the same brush. You solved my problem and made my day! I can't thank you enough!
-
A shameless bump. Please help me on this
-
Ok that didn't work for me. I have an .aspx page with a button on it that when pressed runs the [Scriptable] GetData() routine. This should fill in my XAML path "AK" with Orange but instead my path just disappears. Can anyone help me with this? The XAML.cs code is listed below.
Here is my ...
-
I'm trying to fill a path from code behind. The following code works like a charm when called from the page loaded event:
Dim scbBrush As New SolidColorBrush
scbBrush.Color = Colors.DarkGray
myPath.Fill = scbBrush
When I try to run this code via a click event my path disappears. Am I missing something ...