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
  • textbox only allow integer input

    question
    2
    0 Votes
    2 Posts
    8 Views
    L
    You REALLY need to search Googlel first before posting here. :sigh: I Googled: wpf textbox integer only And came up with many articles on this topic that answered your question. We are happy to assist any developer needing assistance, but we do ask that you try and solve the problem first, then post here. Christian Graus just posted a very good and detailed article on getting results with Google. http://www.codeproject.com/KB/tips/HowToUseGoogle.aspx[^] 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.
  • drag and drop picture in richtextbox

    csharp question database wpf
    6
    0 Votes
    6 Posts
    17 Views
    P
    To save the RichTextBox, you could do this: myRichTextBox.SelectAll(); using (MemoryStream ms = new MemoryStream()) { myRichTextBox.Selection.Save(ms, DataFormats.Xaml); ms.Seek(0, SeekOrigin.Begin); using (StreamReader sr = new StreamReader(ms)) { string myXaml = sr.ReadToEnd(); SaveToDatabase(myXaml); } } Deja View - the feeling that you've seen this post before. My blog | My articles
  • 0 Votes
    1 Posts
    3 Views
    No one has replied
  • WPF components?

    csharp wpf question
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • WPF on Terminal Server

    csharp wpf winforms sysadmin performance
    2
    0 Votes
    2 Posts
    8 Views
    P
    It can be done. Take a look at Project Apollo (Citrix Multimedia Virtualization Initiative) for more information. Basically, there used to be a problem with WPF on Citrix, but now graphics hardware is utilised in the same way as Citrix did for GDI+ (there was a problem where WPF required 16bit, but CPS only utilised 15 out of the 16 bits which has now been corrected). I hope that helps. Deja View - the feeling that you've seen this post before. My blog | My articles
  • How to check whether point belongs to the Line object?

    csharp wpf tutorial question
    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Silverlight 2 news [modified]

    announcement csharp com
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Snoop

    csharp c++ wpf debugging question
    2
    0 Votes
    2 Posts
    7 Views
    J
    Actuall scratch that ... I've just found Molev4! All Hail CodeProject! :laugh:
  • Loading image at run time

    help csharp wpf learning
    4
    0 Votes
    4 Posts
    15 Views
    Y
    Our solution seems to work on simple Images. It does not, however, on 3D graphics. I attempt to create a ImageBrush (for a material on 3D figure). I got image file "FieldExample.png" which is in the root directiory (the same as *.csproj). It is included into project. Build action is set to Resource. I tried the following code: DiffuseMaterial material = new DiffuseMaterial(); ImageBrush brush = new ImageBrush(); brush.ImageSource = new BitmapImage(new Uri("FieldExample.png", UriKind.Relative)); material.Brush = brush; However, I`m getting run time XamlParseException. Besides, Watch set on brush.ImageSource.Height property says: System.IO.FileNotFoundException. Please don`t hesitate to ask me for a draft solution with that problem if needed Thank you very much for any help
  • WPF Browser Application and Browser Issues

    csharp dotnet wpf sysadmin xml
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Binding an Object to xamDataGrid

    question wpf wcf sysadmin help
    2
    0 Votes
    2 Posts
    8 Views
    L
    Please have a look at this link on using the ObjectDataProvider in WPF. http://www.beacosta.com/blog/?p=22[^] You will bind your SingleDirectoryResults to the datagrid using the ObjectDataProvider. 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.
  • 0 Votes
    2 Posts
    7 Views
    M
    I got valuable comment in my blog.. someone commented about WartermarkedTextbox and MultiScaleImage .. Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
  • WPG Image only at low resolution?

    csharp wpf testing beta-testing question
    13
    0 Votes
    13 Posts
    34 Views
    L
    WOW! Bummer stuff. Consider reporting this to Microsoft. I'm glad you got it all sorted out. 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.
  • Display different icons to different nodes

    question com tutorial
    6
    0 Votes
    6 Posts
    19 Views
    L
    This a SUPER easy in WPF. Read up on Styles and ControlTemplates. There are a lot of WPF articles here on Code Project that cover this topic. This is one of the foundational powers that WPF delivers. You can simply write one Style, place it in application scope and all Tree controls can use it. The possibilities are endless. 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.
  • shadow for wpf forms

    csharp wpf design question
    4
    0 Votes
    4 Posts
    14 Views
    L
    Yes. BitMap effect. 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.
  • WPF MediaPlayer and threading

    csharp html wpf design help
    6
    0 Votes
    6 Posts
    19 Views
    C
    Not really - it's just using built in stuff that is there already. Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
  • Efficient Real-Time X-Y Plotting/Graphing

    csharp wpf data-structures regex tutorial
    3
    0 Votes
    3 Posts
    10 Views
    J
    Thanks Chris, I understand that the there are other places i could have posted it, but since i'm utilizing WPF, i thought there might be some features or anything else i didn't know about. Oh well. I agree, measurement data would be too difficult to find patterns. I'm displaying the data in real-time (say 10 points/sec), and could have up to 6 axes. I'm using the Polyline in WPF, and it's just something that could potentially be a processing/memory bottleneck. Thanks for the help though
  • 3D text

    question
    4
    0 Votes
    4 Posts
    12 Views
    L
    Does his code work independently of your code? If so, you may need to look at what you are doing. Did you try taking the files from the \Text3D folder and just including them in your project? Then you can use the methods. I see what you mean about the second link but there are others out there. You can also write Charles Petzold the author of the article. His email is at the bottom of the first article. 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.
  • Command performance problem

    performance help question announcement
    15
    0 Votes
    15 Posts
    27 Views
    L
    My pleasure to server. True be told, your issue played a major role in my REALLY digging into this. So... Thank you!:cool: 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.
  • New to XAML

    csharp dotnet visual-studio wpf question
    8
    0 Votes
    8 Posts
    23 Views
    X
    yeah thats true TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y -------------------------------------------------------- 128 bit encrypted signature, crack if you can