15,790,242 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Python questions
View PHP questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by paleGegg0 (Top 59 by date)
paleGegg0
23-Feb-12 4:28am
View
Thanks for your time and comprehensive answer :)
paleGegg0
22-Feb-12 5:26am
View
a) I like first example outfile too, but decimal is an element not xml text which is must in my casa.
b) second example is generated without baseclass (serialization is in class itself)
in serialization i get error:
ystem.InvalidOperationException: There was an error reflecting type 'SerializeDecimal.MyClass2'. ---> System.InvalidOperationException: Cannot serialize object of type 'SerializeDecimal.MyClass2'. Consider changing type of XmlText member 'SerializeDecimal.MyClass2.MyDecimal' from System.Decimal to string or string array.
paleGegg0
22-Feb-12 4:22am
View
I updated question with example output to see the difference
paleGegg0
22-Feb-12 3:45am
View
Hi there and thanks for your time! It seems that your tip works just like my example above. It works until decimal as xmltext comes to be serialized...
paleGegg0
8-Dec-11 3:19am
View
Absolutely brilliant, saved my day :)!
paleGegg0
8-Dec-11 0:11am
View
Unfortunately animation is specced to be less than 0.5. I have been testing our usercontrols and been noticing that components with dropshadow effect, custom controls with opacity seems to be heavier to handle in storyboard. Also one of the usercontrol had database query in onloaded event which gave hiccup to slide animation so basically it seems that usecontrols are too heavy. I'll keep thread alive for while if someone has tips to speed up performance. Thanks for your time though :)
paleGegg0
7-Dec-11 7:51am
View
Hello there! Example does not provide real loadable UserControls but gives idea about transitions.
paleGegg0
2-Nov-11 12:07pm
View
Thanks for your guidance, helped a lot! :)
paleGegg0
21-Oct-11 0:31am
View
Thanks for your time and guidance :) I think if this is the case I wont set transparency in styles at all, it seems to be working if I set transparency on window side once and let it be that way. At the same configuration im able swap styles on the fly. Have a nice day!
paleGegg0
21-Oct-11 0:25am
View
Hi! Thanks for your time! Did not knew that delegates work this way, now I know :)
paleGegg0
21-Oct-11 0:24am
View
thanks for your time and guidance :)
paleGegg0
20-Oct-11 2:17am
View
thanks for your time :)
paleGegg0
15-Sep-11 9:39am
View
Thanks for your time, is there any change to do that code behind? Maybe in selection changed event. I'm quite sure that end user wont be aware tab typing thing...
paleGegg0
8-Sep-11 3:22am
View
question updated
paleGegg0
8-Sep-11 3:21am
View
updated
paleGegg0
19-Aug-11 0:00am
View
Thanks for the clarification and tips about commanding pattern! Things seems much clearer now :)
paleGegg0
18-Aug-11 13:49pm
View
Im quite happy with current solution (workaround). I tried many variations without success but maybe i missed something.. anyway refining slider with its custom thumb did the trick as you suggested. Xaml is truly powerful but difficult master..
paleGegg0
18-Aug-11 7:12am
View
wise words! I did small demo and I think it will work also my solution also! thanks for the tip!
paleGegg0
18-Aug-11 4:10am
View
and in myThumbStyle
textblock
text="{Binding RelativeSource={RelativeSource Self}, Path=DataContext}" datacontext="{TemplateBinding Tag}">
Amazing! Thanks :)
paleGegg0
18-Aug-11 3:03am
View
Refining whole slider did the trick! Here is what did in nutshell
mySliderStyle
<Thumb Tag="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Value}" Style="{DynamicResource myThumbStyle}"/>
paleGegg0
18-Aug-11 2:29am
View
Oh, now I got it. Thanks for the tip, works nicely!
paleGegg0
17-Aug-11 8:48am
View
Hi and thanks for your time! I dont fully understand relative binding to button, could you kindly post a code snippet?
paleGegg0
17-Aug-11 0:19am
View
Im afraid that does not work neither.. Anyway good thougths overall, I have tried many variations without success. Maybe it is the case that normal bindings wont work with styles..
paleGegg0
16-Aug-11 7:26am
View
Hi! Thanks for your time! Im afraid it did not do the trick because thumb template has not property called Value. Instead Slider which will use the thumb has property called Value and that is the propery what i like to bind to thumbs textblock.
paleGegg0
16-Aug-11 1:36am
View
Oh sorry, did not know that I can accept more than one solution. Your solution is accepted!
paleGegg0
15-Aug-11 23:55pm
View
Thanks a lot! It is nice to see that someone reads solved questions and gives more feedback. Have a nice day SAKryokov :)
paleGegg0
15-Aug-11 3:28am
View
Thanks a lot, your snippet seems to do the trick! I have to do some research about ui threads to learn more about it :)
paleGegg0
8-Aug-11 14:22pm
View
thanks for the solution! I am truly beginner about wpf so I find difficult which control to use or what methods controls provides to user. Have a nice day :)
paleGegg0
4-Jul-11 8:25am
View
Thanks a lot to directing me to solution, there was a bug in channel thread (handling queue/dequeue) just like you expected! Took me 9 hours to find that one..
paleGegg0
4-Jul-11 4:59am
View
Updated :)
paleGegg0
22-Jun-11 5:12am
View
Thanks so much, helped a lot :)!
paleGegg0
27-Apr-11 0:27am
View
Wise words! I think I reconsider my previous goal and follow your tips. Im developing program which "hides" OS to end user so your methods suits perfectly. Thanks!
paleGegg0
11-Apr-11 2:44am
View
Hi! I think I got it working but not sure is this way you suggested.
private void TextBox_PreviewMouseDown(object sender, MouseButtonEventArgs e)
{
MyDataClass temp = (sender as TextBox).DataContext as MyDataClass;
sender = temp;
MyDataGrid.Items.Refresh();
}
anyway thanks for the tip :)!
paleGegg0
5-Apr-11 4:46am
View
By deleting intellisense files fixed that issue. I never thought that could cause problems with specifig class..
paleGegg0
5-Apr-11 4:26am
View
Hey thanks for providing tips what I can do in this situation.
paleGegg0
31-Mar-11 0:06am
View
Wow! thanks for the answer! I truly appreciate that you not only give the answer but also codesnippet and pointing out benefits of this solution. Its shame that cannot give more than 5 points. Have a good day :)!
paleGegg0
31-Mar-11 0:01am
View
thanks for your answer, works also like above answer :)
paleGegg0
30-Mar-11 4:50am
View
oh my god, im so shamed! you were right, I was messing with layout than listbox itself! I truly appreciate that you gave tips along the way. Saved my day :)
paleGegg0
30-Mar-11 4:32am
View
try to create usercontrol with provided code and then add that usercontrol to wpf window and then its starts bugging.. atleast my side it does
paleGegg0
30-Mar-11 4:30am
View
Did you make it in wpf window or usercontrol?
paleGegg0
30-Mar-11 4:27am
View
Im afraid I cannot provide exact code but my example is basically same. I just found out that my problem shows in usercontrol but when copy paste to wpf window, it works...
paleGegg0
30-Mar-11 2:25am
View
Tried, but does not fix the problem..
paleGegg0
25-Mar-11 8:56am
View
IValueConverter did the job! Thanks for the help! My problem is now solved :)
paleGegg0
28-Feb-11 3:25am
View
Thank you for your help! I appreciate that you are not only pointing out of errors, but you also provided codesnippet to solve it. Perfect answer, you got my 5 :)
paleGegg0
27-Feb-11 12:52pm
View
Hi there! I havent tested other answers yet, but I dont fully understand yours.. what you mean by referencing? Like I said when debugging my combobox holds right classes as expected, event gives known class to combobox, but still it doesnt react like I want to. If bossible could you provide code snippet?
paleGegg0
31-Dec-10 2:16am
View
Hi again, thanks for the help! My app is working now. I really appreciate your effort and hope you good year! Its truly shame that I cannot give more that 5/5 for this answer :)
paleGegg0
31-Dec-10 1:48am
View
Thanks for the fast reply! I have done to my filelogging as you suggested.
Now im struggling with that query problem. Im truly new in linq world so I thought you could give tip for filtering. I have tried many ways without success. Following gives nothing but error:
XElement TraceMessages = XElement.Load(fullPath);
string filter = "Error"; //comes dynamically from ui in the future
//lets read only messages with category = "Error"
foreach (XElement x in TraceMessages.Elements("Messages").Elements("Message").Attributes(filter))
{
//add result to Ui component
}
I wouldnt bother you unless Im kinda hurry at the moment, I will meet client by end of the day :D
paleGegg0
31-Dec-10 0:49am
View
Now I managed to solve that problem. Your tip helped a lot! As a beginner of C# coder I appreciate your effort :)
paleGegg0
29-Dec-10 11:27am
View
Im afraid that wont fit my problem. If I got this right I had to do this on usercontrol code side so the binding will be allways to same target. My client wants multiple usercontrols with different datasources.
paleGegg0
29-Dec-10 6:40am
View
Thanks for the tips! Those links gave me idea to try Microsoft Media Foundation. Maybe that will help with my challenges. :)
paleGegg0
20-Dec-10 11:19am
View
Thank you so much! That helped a lot :)
paleGegg0
20-Dec-10 5:03am
View
thank you! Problem solved. Helped me a lot :)
paleGegg0
20-Dec-10 5:03am
View
thank you! Problem solved. Helped me a lot :)
paleGegg0
17-Dec-10 0:25am
View
Thank you so much! I have been blind, I have been searching answer and saw examples, but always coded source property to property instead of object. I really need vacation :)
paleGegg0
16-Dec-10 8:02am
View
thanks. Thats helped me a lot!
paleGegg0
15-Dec-10 13:28pm
View
Oh, yes it is. Thank you.
paleGegg0
14-Dec-10 1:45am
View
I have managed to bind dependency properties with textboxes in xaml, but filling combobox with enums seems to be trivial to me. I have tried ObjectdataProvider and many different other ways to do it in xaml without success. It can be typo or something in my code but my combobox remains empty. Thats why I made that example code above that someone could make example binding in xaml.
paleGegg0
13-Nov-10 3:41am
View
Thank you! That article solved my problem :)
paleGegg0
31-Oct-10 1:46am
View
Sorry late update, just tested and it worked. You saved my day. Thank you :)
Show More