I have a MultidataTrigger Condition style thats been implemented to a TextBox . I also have another style which I require to implement on the NameTextBox. How do we implement multiple styles on a Text Box?
I am still having a trouble cropping with my project I am trying to create, which I have included the code and the XAML code below. For my project, i am trying to have the user click on the button "crop image" then they are given the ability to highlight the area to crop, and right click and save the crop image as jpg or bmp, so far i have looked at several examples including jim's input (thank you jim again) but still is a little confusing to me, if someone can help me out with this by completing the missing piece (or finishing the project), and/or explain that would be great. I am willing to go even as far as talking over the phone or email just to help me because i feel this is an essential thing to learn using WPF/C# image object/bitmap. If anyone can help me out with this one i would be very very grateful. So again, the code is below so you can see what i got so far, which i like because you can zoom in and out of the image object called viewerphoto1 using the slider. Anyways here is the code below:
I was looking at this example from the link below, which i like, i am trying to have the user click on the button crop image, and thats when it will show the rectangle, however the description or the explanation is sorta hard to understand, can anyone help me with this, including how to get crop image to appear on the crop image viewer object?
I'm trying to do my first WPF app, and the IDE seems to have lost the ability to show properties for any control. The only way to fix it is to shut the IDE down and restart it, and then, it only works for the first control you try to view the properties for. What a POS...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
I created a UserControl in XAML that includes a Frame. But when the application is loading the Frame source, the application throws and InvalidOperationException. This message tells me, that the class for the Frame's source couldn't be found in the given namespace. And this is true, because it doesn't use the namespace I intended. Here's a short example to illustrate the problem:
Thanks for your answer. That's more or less exactly what I am doing. Only that I placed the files in some directories, so the namespace is a bit longer.
And I didn't change the namespace in the code behind files. The strange thing is, that the exception already says, that the class should be located in a different namespace - one, that doesn't make any sense to me.
Currently I load the page in the code behind file. Perhaps I get some time later this day and can break it down and post a "working" sample.
But anyway, thanks for your answer
Last Visit: 31-Dec-99 18:00 Last Update: 5-Oct-22 18:22