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

Memory Leak with TreeView

I'm currently experiencing a memory leak in WPF where I am using A TreeView which is databinding to a list.  Each item in the list will display a custom control.  When an item is removed from the list...

View Article


Quick options control in WPF for controls...

Hi all,In Microsoft Word you get a quick formating box when you select the text in the document which is half visible.I want to do same operation in a WPF application, when user select some text in...

View Article


Root Cause: Recursive call to Automation Peer API is not valid

Hi,We've used WPF Tookit DataGrid and .NET 3.5 for about 2 years. And we've got two cases which throw exception - "Recursive call to Automation Peer API is not valid".It's quit strange and eratic, very...

View Article

ListBox is not populated with an XMl binding with a file

Hi All,I have just started WPF on .Net3.5.I am facing a concern while populating ListBox from an xml file. Actually this xml file has been generated with someobject.WriteXml operation on a local data...

View Article

CRUD operations in a wpf datagrid using Castle active records

Hi everyone. So I am working on an application that uses Castle Active Records. I use Visual Studio 2012, C# and wpf. My assignment is to take a table from a database (oracle) and using the wpf...

View Article


Image may be NSFW.
Clik here to view.

Create border/Square with hollow center.

Hi, I want to create a control in WPF/Silverlight. This control is rectangle/border which is hollow from the center. My intention is to grayed out everything else except for a squared area within the...

View Article

Implement algoritm as in Excel Color scale.

HiI want to try functionality in DataGrid as in Excel with color scale.I have 2d array and I need to set color for each cell according to cell value.Color scale Green - Yellow - RedCan someone to tell...

View Article

How Can I show collection of collection bind to DataGrid?

HelloI want to group some objects in Data Grid. It works fine. But I want to class properties works as group headers and for rows I want use their List<AntoherClass> variable.Is that possible?If...

View Article


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


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

In WPF/MVVM, how to implement the “Select All” function in a perfect way

In View, i.e. the XAML, I have binded the SelectAll bool value to the Checkbox control<CheckBoxGrid.Row="5"Content="Select All"HorizontalAlignment="Left"Margin="0,5, 0, 0"IsChecked="{Binding...

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

ScrollViewer.ScrollToHorizontalOffset / .ScrollToVerticalOffset stop working...

HiI'm using the ScrollViewer to create a view port on a rather large canvas with many objects on it (it's part of a drawing application). I found that when using the ScrollViewer's scroll bars the...

View Article


Visual Studio 2012 WPF Designer & Satellite Assemblies

Dear all,I'm developing a localization extension for WPF and other Frameworks based on MarkupExtension with design-time support. This worked well for VS 2010.Beginning with VS2012 (and earlier with...

View Article

How to listen to a BindingBase object?

HiI want to create a special DataTrigger inheriting the TriggerBase<FrameworkElement>. Just similar to theDataTrigger, a property of type BindingBase has been defined in theMyDataTrigger class....

View Article


ListBox filter performance

Hi,I am populating a (surface) listbox with about 1200 items of the following DataTemplate:<DataTemplate x:Key="FileListDataTemplate"><StackPanel Orientation="Horizontal"><MediaElement...

View Article

datagrid, manual render column not work

hi,I have in MainWindow()  this code:dgUsers.DataContext = persons; persons is a list<person>. Person is data container with atribute name,surname,...In xaml have this code and works...

View Article


WPF event handling?

Does anyone have an idea where to find some kind of overview about how the events in WPF work. I'm not asking "how to", but rather "what the...". ;-)I don't even know if the events are WPF-events,...

View Article

Re-size DrawingVisual after rotation.

I am facing issue in calculating the center of the DrawingVisual when it is already rotated, and resized.I am doing one tool which allows drawing of various shapes in the canvas. I created a Shape...

View Article

Need code of dll wpfgfx_v0300.dll

Where can I find the code of wpfgfx_v0300.dll

View Article
Browsing all 18858 articles
Browse latest View live


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