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

Template to bind a Hierarchical Data in a DataGrid...

Hello,In my application, I have a employee class. Each Employee class is having following properties:Name : stringID : Int32Designation : stringSubordinates (Collection of Employees reporting to this...

View Article


Converting an Image/BitmapImage object into Byte Array and vice versa

Hi,  I have an requirement of developing an application (WPF) that recevies image object from WCF service.my approch is to convert the image object into stream of bytes (Byte array) in WCF part and...

View Article


CheckBox DataBinding Doesn't Update

Hello,I am databinding a Boolean property to a checkbox. I am doing the databind in a TwoWay mode so I expect that when the checkbox is checked for the property to change to true, and when it is...

View Article

How to set horizontal alignment for an image in datagridtemplate column in wpf

Hi,I have a WPF application. In that I have a DataGridTemplateColumn with a textblock and an image. I need textblock to be left aligned and image to be right aligned in that column.I am creating this...

View Article

Swiping from the right and evading the charms bar

We have developed an application with the ability to swipe from each side of the screen for extra functionality.This works perfectly on legacy copies of Windows but when running in Windows 8  (8.1) the...

View Article


import 3d obj model and control rotate,traslate,scale.... from buttons

hi, i'm new at WPFi searched all over the internet for some example that demonstrate how to move some 3d Model with the regularevents.i'll explain what i mean:i'm using Visual studio 2012 and opened...

View Article

Datagrid Checkbox

I have found that when selecting a checkbox within a Datagrid and I scroll down I find other checkboxes have checked themselves.This is a new problem as the checkbox have been in use for some time...

View Article

Is WPF dead or going to be

I read this article and not sure if its worth learning WPF in case its not used in future - anyone got any thoughts?http://www.theregister.co.uk/2010/09/09/microsoft_html_5/ 

View Article


How to add rows to datagrid using xaml?

Please advise if it's possible to add rows into datagrid through xaml?Jason

View Article


Tabcontrol in wpf

Hi,  How to create rounded corners for tabitems and tabcontrol. How to set backgrounded color for selected tabitems. how to remove default hover behaviour(lightblue) of tabitems in wpf.Thanks,Subbu.

View Article

Image may be NSFW.
Clik here to view.

Drawing on a image control's image.

Hi,I've been checking all of the examples I can find, but I can't find anything that seems to do what I need.I have an image control on my window. It has a bitmap image as the image source. From the...

View Article

How to control the visibility of AdornedElementPlaceholder

Hi have a ControlTemplate that use as an ErrorTemplate. I want to set the Visibility of Image in AdornedElementPlaceholder to collapsed as soon as the property IsEnabled of validating control set to...

View Article

WPF Charting toolkit: How to center data point

Hi, I have 3 charts that load at any given time 1 minute of data points from a database,  E.g  BETWEEN  Date time 23-07-2013 22:01:02  23-07-2013 22:02:02.  The chart then loads the data starting at...

View Article


WPF radio button binding with MVVM

Has anyone have experience with binding RadioButton's IsChecked property using MVVM?Jonathan DeMaagd

View Article

Image may be NSFW.
Clik here to view.

WPF Treeview: Different display name for Hyperlink

I'm using a hyper-link in WPF tree-view to open the linked PDF file. It's displaying the entire file-name in the treeView. How can I give a different display name for the hyper-link and make it open...

View Article


wpf radiobutton IsChecked problem

Hi,I am new at WPF.I need the answer of this,I have two radio buttons and their bindings like <RadioButton Style="{DynamicResource MyCss}" IsChecked="{Binding Place.ToColour,Mode=TwoWay}"...

View Article

AvalonDock: Hide or Remove the LayoutDocument Tabs?...

Hi, I want to hide or remove the Tabitems in the LayoutDocumentPane, because I will be usingMS Ribbon to show/hide LayoutDocument's and Prism Regions to Inject Views.  And will be using a...

View Article


Can iset a Binding inside a FrameworkElementFactory to an AttachedProperty??

heyi've written following://This is the class with my AttachedProperty!!!! namespace Classes { class AttachedProperties { public static readonly DependencyProperty TabItemFontSizeAttachedAP =...

View Article

Image may be NSFW.
Clik here to view.

Flow frame

Hi, I have a content in a blocks. I would like to add this blocks to some container/frame to represent them like bellow.By the way, this is application for WinStore (not pure WPF)Aleksey

View Article

skype default path and within application

hi,i have called skype using process.start("mypath\skype.exe"); which was given during installation, it is not the same on every system right. so how can i call it from registeredit i.e setting default...

View Article
Browsing all 18858 articles
Browse latest View live