Skip to content

WPF

Silverlight, WPF and XAML programming discussions

This category can be followed from the open social web via the handle wpf@forum.codeproject.com

4.8k Topics 18.9k Posts
  • How can I draw part of a circle in WPF?

    question csharp wpf
    3
    0 Votes
    3 Posts
    10 Views
    R
    Thanks for this Karl, I'll take a look. Regards, Rob Philpott.
  • Check Box in WPF Treeview

    csharp wpf question
    2
    0 Votes
    2 Posts
    5 Views
    P
    Have a look at this[^] article to get some ideas. Deja View - the feeling that you've seen this post before. My blog | My articles
  • Preparing 3D models for WPF

    wpf csharp com tools question
    3
    0 Votes
    3 Posts
    8 Views
    P
    Bartosz Bien wrote: What tools do you use to create 3D models and export them to XAML? I use Cinema4D, 3DS Max and Maya. Although I'm looking into Zam3D. Bartosz Bien wrote: Is XAML the only format that WPF can accept for specifying 3D geometry? Yes - well, you could write your own internal 3D methods that interact with the 3D engine directly, but that would be defeating the whole purpose of XAML. Bartosz Bien wrote: Is there a XAML exporter plugin available for 3ds Max? It's not exactly a plugin, but you can always look at this[^] for simpler models. Deja View - the feeling that you've seen this post before. My blog | My articles
  • WPF XAML vs Procedural Code

    csharp visual-studio wpf html graphics
    2
    0 Votes
    2 Posts
    7 Views
    J
    There are many advantages of XAML, but disadvantages as well as you pointed out. In the case of WPF, XAML is a non-language specific description of the UI using a more natural hierarchical relationship between elements. This also enables easier code sharing between languages, and enables tools to generate XAML without knowing the nuances of a programming language. Expression blend is one such tool, and there are converters for many other third party tools as well, such as Adobe Illustrator. You can write a feature-rich app with just XAML and never touch a line of VB.NET or C#. That being said, there are advantages to both XAML and procedural code and those trade-off decisions need to be addressed in your design. I personally like to see the hierarchical relationship, but do have some gripes when it comes to debugging complex XAML.
  • Binding Image to a window

    wpf csharp wcf com question
    8
    0 Votes
    8 Posts
    25 Views
    J
    There are also utility apps for PSD - XAML converting, I've had limited success using this one here though as it can't handle complex PSD's. There are quite a few things potentially in a PSD that just don't map to any equivilent in XAML or WPF. I've been working with ZAM3D some more ... I'm even more impressed with it now than when I recommended it!!! I've had a few crashes which is unfortunate but to be expected with a v1 app I guess ... Jammer Going where everyone here has gone before! :) My Blog
  • StackOverflowException in PresentationCore.dll

    debugging help csharp wpf tutorial
    2
    0 Votes
    2 Posts
    7 Views
    P
    The problem isn't with WPF. It's your code that's at fault - basically you have entered an infinite loop in MovePolygon where you execute this section: foreach (var item in children) { item.MovePolygon(xDestination, yDestination); } You seem to be iterating through the same item every time, and I'm guessing this isn't the effect that you want. Deja View - the feeling that you've seen this post before. My blog | My articles
  • Link Label in WPF

    wpf csharp
    2
    0 Votes
    2 Posts
    7 Views
    L
    Use a HyperLink control in the in the Click event perform any operations you need to. Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your Articles Just a grain of sand on the worlds beaches.
  • Tracking down bugs in XAML

    wpf debugging help question
    9
    0 Votes
    9 Posts
    16 Views
    J
    Feck ... that didn't help at all. I need to sit down with more time for tackling this one. :( Jammer Going where everyone here has gone before! :) My Blog
  • Custom File Dialogs

    csharp c++ wpf question
    9
    0 Votes
    9 Posts
    19 Views
    J
    Well ya got me there ... at the moment its really not doing anything remotely different. Guess I'll just have to make something up! ;) Jammer Going where everyone here has gone before! :) My Blog
  • Newbie data template/DataContext question

    question wpf csharp
    3
    0 Votes
    3 Posts
    12 Views
    J
    Thanks! I will try it as soon as I get home. :) -- Kein Mitleid Für Die Mehrheit
  • Dumb Button Question alert!

    question csharp visual-studio wpf help
    15
    0 Votes
    15 Posts
    37 Views
    J
    Not at all chap. You've been a great help! Jammer Going where everyone here has gone before! :) My Blog
  • The killer question

    question csharp wpf winforms help
    7
    0 Votes
    7 Posts
    15 Views
    E
    It does work, on the surface. However if you try and access the lists through other methods then it messes up (i.e. through indicies). I was thinking that there'd be an ice elegant way to create a combo box in WPF which allows it to be set as nullable, rather than having to modify the underlying data. Perhaps creating a new items template thingy and inserting a control there which if selected is null. I.e. the underlying datasource is not modified at all. I'll see what I can do when I get the chance. Just wondering if someone had come up with a solution already. My Blog[^]
  • Error Help

    wpf help csharp learning
    10
    0 Votes
    10 Posts
    21 Views
    J
    Its been tracked down to some odd behaviour with the 3D chart. What I'm seeing isn't a tooltip ... its a textblock! Jammer Going where everyone here has gone before! :) My Blog
  • Adding WPF components

    csharp wpf data-structures help
    5
    0 Votes
    5 Posts
    14 Views
    M
    Got it:) Thanks mate! Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)
  • Windows XP WPF Anti Aliasing

    csharp wpf business help question
    10
    0 Votes
    10 Posts
    25 Views
    J
    I just blogged about this ... I think this info needs spreading far and wide!!! http://jammer.biz/blog2/?p=158[^] Jammer Going where everyone here has gone before! :)
  • Hierarchical grid in WPF/XAML [modified]

    wpf csharp css help question
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Can i use silverlight with Visula Studio 2005

    visual-studio business
    5
    0 Votes
    5 Posts
    13 Views
    P
    Yes, it is seems so. Right now I am using VS2008 and Expression Blend combo... "I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
  • WPF Processor Usage

    csharp wpf question discussion
    11
    0 Votes
    11 Posts
    32 Views
    J
    A few thousand points per line does sound like a huge number! Jammer Going where everyone here has gone before! :)
  • WPF Grid IsLayer

    csharp css wpf winforms com
    19
    0 Votes
    19 Posts
    46 Views
    P
    Well - I've downloaded and installed it, but that's as far as it goes. I'll hopefully get some time to look at it by the end of this week. Deja View - the feeling that you've seen this post before. My blog | My articles
  • BringToFront and SendBack in WPF

    csharp wpf help question
    4
    0 Votes
    4 Posts
    11 Views
    L
    Read up on the ZIndex property. It is an attached property that is exposed by panels like the Canvas. Canvas.ZIndex="99" Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your Articles Just a grain of sand on the worlds beaches.