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

strikethrough in gridview

Hey,I word on windows RT. I have a ListView, each element have a picture and a text. I bind like this : ItemTemplate="{StaticResource ListItemTemplate}I would lik to strikethrough the text of the...

View Article


Any equivalent for WPF datagrid subgrouping?

I saw an article in msdn          http://msdn.microsoft.com/en-us/library/ff407126%28v=vs.100%29.aspxThe screen shot is telling the grid could get grouped. Is there any equivalent of this in windows...

View Article


Use custom calender to open with the datepicker

I am using a class in WPF  and i created one custom calender . I created the custom calender from .Net calender.Clicking the datepicker opens up the calender control. I want to open my calender control...

View Article

WPF Datagrid to Excel export

Hi,I want to export the content of DataGrid in the WPF application to Excel. The content of the data grid will be loaded dynamically, on button click i have to export the datagrid data to excel. Can...

View Article

WPF XBAP not working: Win 7 x64, VS2012, NET Framework 4.5

Hello,I've built a very simple XBAP application.  See my XAML at the end of the post.When I run in the debugger, or just open the xbap in IE9, the page appears but I cannot click the menu items.  I...

View Article


3d object insertion

Hello, I'm new to WPF, and wanted to ask some questions. Is it possible to insert my 3d object (example.obj) into WPF? And could I make it (for example head) smile, show some mimics according to some...

View Article

ListView within a ListView doesn't bind

<Window.Resources><local:FixedNumberCountConverter x:Key="Converter"/><DataTemplate x:Key="StepList"><StackPanel Orientation="Horizontal"><TextBlock Text="{Binding...

View Article

execute command on keyup in datagrid

I have a read-only DataGrid that when clicking on a cell in a specific column will feed back information about the contents of that cell. I would like navigation using the up and down arrows to do the...

View Article


Why UI is freezing?

In my ViewModel I have the following code:private void ExecuteRefresh() { IsBusy = true; Task.Factory.StartNew(() => { transmissionListService.UpdateList(); }) .ContinueWith((task) => { IsBusy =...

View Article


Combobox does not revert to NULL when text is deleted.

Not sure whether it is a flaw in .NET or not, but: If a user empties a combo box (i.e. wants to blank out the value) the selected value does not revert to null, Instead it keeps the last valid selected...

View Article

Image may be NSFW.
Clik here to view.

Change specific cells in Listview (XAML)

How could I change specific cells in a ListView in xaml?  When I use <ListViewItem>aaa</ListViewItem>... it changes the whole row.  Here is my code:<Grid><ListView Height="156"...

View Article

XBAP - Problem with static class

Hello everyone:I've working in XBAP application (Code Behind in C#).When i want to call a store procedure, Visual Studio gives me this kind of error:TypeInitializationException, and the problem, i...

View Article

How to update/refresh CompositeCollection in wpf combobox?

Hi all,I am using one wpf combo box control and adding one static combo box item and one list to its ItemsSourceusing CompositeCollection. Below are the code.              <ComboBox Name="cb"...

View Article


Issue with TouchDevice captured in a Viewport2dVisual3d

I have a button in the Visual property of a Viewport2dVisual3d object. say i have a touchdevice captured in that Visual and i tried to transfer that capture to a UIElement with IsManipulationEnabled...

View Article

DataGrid using MVVM with CanUserAddRows with validation enabled?

Hello,I've been struggling for days to implement a DataGrid using the MVVM pattern that sets DataGrid.CanUserAddRows=true and uses Binding.ValidationRules for validation.  Unfortunately this has lead...

View Article


TextBox Problem with numeric input

Hi!I have in a WPF Maske 4 TextBoxes...1. A Number in a length from 9. --> OK, I can find out is there a number or not and how many character are in the TextBox     This is finish...2. A Number with...

View Article

Image may be NSFW.
Clik here to view.

Circle panel child alignement

Dear all,I am using the follwoing sample class to align items around a radial panel as follow : class SolatysCirclularPanel : Panel { [Category("Common Properties")] public double OuterRadius { get {...

View Article


Accessing A TextBox From A ListView Item

I have a ListView with an ItemSource containg an collection of items from a custom class named "ListItem".Here is the XAML related to my issue:<ListView Name="listView1" ItemsSource="{Binding...

View Article

Capture Screenshot include the Menu of WPF application

Hello all,I am trying to capture the screenshot  in Basic theme of Win 7 rather than Aero themes. However, I see the problem that all popup menus inside the WPF application are not captured in the...

View Article

How to get the Binding expression of GeometryObject from code Behind

Hello,I have got Path object and the data part is a set of EllipseGeometry objects.EllipseGeometry Center, RadiusX & RadiusY are bound to width and height of path.When i modify the ellipse radius...

View Article
Browsing all 18858 articles
Browse latest View live


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