It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm having issue with WPF and the way it should be implemented which wondering if experts could advise me. In WPF, in the beginning we keep running into classes which we had never heard of (or let's say it is my case only) and each class has its own new methods.
Today, I'm writing an application using Adorner and now I know I must use MeasureOverride() from FrameworkElement ... yes, I know majority of controls in WPF are from FrameworkElement but how should I know which method should be used?
I see tens of blogs throwing methods and dictating what should be done but what is the best way to know what should be used and how? I guess all I need to know is that how should I know which method is needed from a particular case. I just don't like to mimic what is done here or there. I hope it is clear what I'm trying to say here.
It worries me that things are getting out of hand and there are too much info to catch up with.
Thanks,
Amit
I guess I need to reference my own blog here.
http://csharpramblings.blogspot.ca/2012/05/understanding-wpf-layout-system.html
The article is a short introduction to the WPF layout system, using a custom panel control as an example.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I was wondering how to create a scroll that looks something similar to this:
I'm really interested on being able to build one like this, and I'm not sure on what elemnt is this one and how to implement it. I've been searching, but I can't find any information... So any tutorial, guide or clue will be really appreciated.
Take a look at "A Knob Slider Control". It doesn't look as nice as your example, but that's just a matter of styling. Maybe you could use it as a starting point?
See the tutorial of Charles Petzold. It gives a nice introduction how to create curved sliders and scrollbars.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
So I am wondering if, in term of performance, it's possible to create a graphic editor like Photoshop capable of handling bitmap graphics on layers (at least 25 layers). It also need to handle various type of brushes, copy paste graphics blocks, etc. Well, what Photoshop can do at the basic level.
Are WinForms capable of this without being slow? Or is WPF the only good alternative?
As Paint.Net uses Winforms it is possible. You can check out the source code from this fork of 3.36.7 (the last version where the source was released)
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I know I'm MVVM in WPF I do not know how this Silverlight implementation layered on top tips to help me (I'd Entity Framwork for the model I use)
You will do MVVM same way as you do it in WPF. But since Silverlight runs on client - you can't use EF there. Your choices will be to use RIA Services OR buy something like DevForce. I'm using DevForce and it allows you to write pretty much same LINQ queries on a client.
The MVVM Light Toolkit is a great framework for implementing MVVM in WPF or Silverlight.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
These days I'm aware of the powerful web browser. In order to know what happend behind the screen. I want to write a simple web browser. But When I try to find document about that. Nothing find! Any one konw how to write a simple web browser or know where is the book will be useful. Please tell me !
Thank you very much!
Start off with a simple browser -- e.g., look at existing text only ones like lynx or w3m. Once you've got them cracked, then you can work up to adding graphical elements. It can get complicated fairly quickly, so make sure you've read the appropriate RFCs for HTTP and the W3C standards as well. These aren't light reading material though :-)
Here's something to get you started:
https://developer.mozilla.org/en/Download_Mozilla_Source_Code
C might not be the best language for this job.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
What is is in your opinion the most cool feature of WPF that one absolutely should view at.
Brushes. All painting is done by brushes, and all brush types are interchangeable. You want to paint your text with video? No Problem!
The dispatcher messaging architecture.
WPF Architecture
Build More Responsive Apps With The Dispatcher
Many things in WPF are over-engineered but I feel the way they designed this is genius.
Xaml, as verbose as it is.
And data binding -- there's room for improvement, but it's awesome even as it is.
Dependency Properties. Many of the most powerful WPF features are based on them.
DirectX backend, control templates.