Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Browsing all 18858 articles
Browse latest View live

Rss Feed RDF Format

Hi  Someone to help me with a code that can read RSS in RDF format?.  or code that can read all types of file in XML format.  thank you

View Article


Insert Rss Feed data in database with regular update

Hi  I need to build a RSS feed reader, I found many links which deals with this topic but I'm looking for topic can help me to get the rss data in a database (Date, Title, Description, Link) with the...

View Article


bluetooth connection lost

Hi, I have an app that is connected to various bluetooth devices (the communication is driven by virtual com ports), in some cases I loose the connection with a device and in this case the device...

View Article

WPF place custom menu in grid at click event

Hy,I have a WPF question. I have in my menu two menu items "Create queue" and "Create Topic". When I make a click on the menu item I want to present instead of a new dialog window all the necassery...

View Article

Image may be NSFW.
Clik here to view.

wpf toolkit scatter chart with no lines

I want to remove the lines from this scatter chart.   I'm not sure what property or styles allow me to change the lines.   I am using the chart from the WPF toolkit:...

View Article


ajouter des ligne a mon datagrid a travers boucle foreach

IEnumerable<etudiant> requete = from emp in universite.etudiants where (emp.cin ==TextCin.Text) select emp; foreach (etudiant E in requete) { var Notes= from emp in universite.Notes where emp.cin...

View Article

Making TreeViewItems have backgrounds with alternating colors

I've made a custom TreeView with HeirarchicalDataTemplates (yes I did!!).<HierarchicalDataTemplate DataType="{x:Type VM:Patient}" ItemsSource="{Binding Path=AHFEvents}"><TextBlock...

View Article

DependencyProperty default value set in constructor never pushed to the...

Hi all,I am currently working on extending the WPF Datagrid to provide a "BindableSelectedItems" Dependency property which is an observablecollection(of object).I cannot set the default value using the...

View Article


Image may be NSFW.
Clik here to view.

Texture Co-ordinates on a 3D plane, please help!

How can i work out the texture co-ordinates for these positions and triangular indices, i need to make sure the texture goes in the direction as shown and that it does not stretch to the shape of the...

View Article


Image may be NSFW.
Clik here to view.

URGENT: Copying a Canvas from one image to other (Cannot save an image with...

Hi all of you,My aim is once my user has selected one area of one JPG file, that piece is going to move into one container, e.g, a GroupBox.As you will see in the following image, left headlight of the...

View Article

VerticalScrollBar works strange for ListView which datatemplate is expander

I have a ListView which DataTemplate is an Expander. When all Expanders are expanded, VerticalScrollBar seems ignored the content of the expander and scroll between each expander headers. Anyone met...

View Article

3 Treeview, retrieve all the selected items

Hello.  I beginner  in C # / WPF  I  have trouble retrieving  the selections of Treeview.  In my form I have 3 Treeview Tvi1, Tvi2 and Tv3.  each has Treeview checkbox.  I wish that, when you click a...

View Article

Getting CTRL plus other keys keystroke from WPF

hi,I just want to get CTRL + Insert combination but it doesn't work:Code-behind: Public Sub Window_PreviewKeyDown(sender As Object, e As KeyEventArgs) Select Case e.Key Case e.Key = Key.LeftCtrl And...

View Article


Getting one CroppedImage using free-selection hand

Hi ya,I want to get one piece of my JPG -whatever- using free-selection by hand instead of using the usual square as many samples on internet show that.I've been digging out harder and no results. Any...

View Article

I am trying to read input text from texbox (every time this.Text returns null...

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using...

View Article


Binding to a static property of an object instanciated in another class.

Hi All;Here is my xaml:  <Grid Margin="10,43.2,27.4,24.4" Grid.Column="1"  Grid.Row="1">        <Grid.Resources>                <vw:NotifyAppender x:Key="Log" />...

View Article

OnKeyPress args for WPF, convert Windows.Form to WPF custom control for TextBox

        protected override void OnKeyPress(KeyPressEventArgs e)        {            base.OnKeyPress(e);            char keyPressed = e.KeyChar;            if (this.Text.IndexOf('.') != -1 &&...

View Article


Can not select an item in TreeView...

Hello All,In my application, i have a composite data binded to a TreeView. I have used 'HierarchicalDataTemplate' to bind the data to treeviewitems. I am able to see the binded data in view when i...

View Article

code signing xbap with a ca issued certificate on multiple domains on...

Hello. Until recently I've been making my own certificates for publishing xbap applications on a wide range of servers and domains. I need to start using certificates issued from a trusted CA, right...

View Article

Default FreezableCollection value

When I have a dependency property of type deriving from FreezableCollection<T>, what should I use as the DP's default value if I want it to be an empty collection and handle the freezability...

View Article
Browsing all 18858 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>