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

Is WPF throttling data bound property changes on worker threads?

I tried to stress-test some things and I created an MVVM application that updates a data-bound view model property of type decimal something like 180,000 times a second. To my astonishment, the...

View Article


Inside ItemsControl, untoggle previous toggled Button

Right now, I'm using a Listbox, but I don't need to keep track of the selecteditem. Look at the code:<ListBox ItemsSource="{Binding Polls}" ItemContainerStyle="{StaticResource...

View Article


can user control add NAct interface and what is the usage of it?

can user control add NAct interface and what is the usage of it?where can apply NAct in user interface programming?public partial class UserControl1 : UserControl, IActor明知沒有可能但仍然不願死心

View Article

Property changed event is not called when the DataBinding mode is set to OneWay

Hi ThereI have 2 dependency properties on the custom control and defined like here:public static readonly DependencyProperty SplitterWidthProperty = DependencyProperty.Register("SplitterWidth", typeof...

View Article

DisplayMemberPath vs. DisplayMemberBinding

Hello, Again, this is not a technical help request, but I wonder if someone (from Microsoft or not) can think of a reason for the fact that in the ListBox there is a "DisplayMemberPath" property...

View Article


Loading one User Control according the option selected

My aim is load an User Control in my view under user criteria selection.My View: <Window x:Class="OR_Management" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...

View Article

Problem in focusing Datagrid

Hi Everybody,              I'm using datagrid in my project.  The form that having one textbox and datagrid. when the form is open, without touching that form i want focus on that datgrid first row and...

View Article

"DesignSource' is null" XamlParseException when DataGrid RowDetailsTemplet...

Hi,i have a s dataGrid : master and details  , the master DataGrid has a RowDetailsTemplate witch contain the details grid , so when a user select a row in the master grid , the row details will be the...

View Article


How to make currently added items in the listbox as first item

hi     i am adding some items in the listbox .i want to display the last item added in the listbox as first item in the listbox if anyone have any idea how to do it help me. thanks in advance

View Article


Image may be NSFW.
Clik here to view.

Custom Dictionary in wpf

Hi....... How to import custom dictionary in wpf application?

View Article

Show Calendar day of selected month to List/Gridview in column, possible?

Hi,May I ask if it's possible to show all the date and day of selected month automatically in column style like below:Date           |     Day1/9/2013     |     Sunday2/9/2013     |     Monday3/9/2013...

View Article

Copy All Element of a Treeview in External Application in My Treeview

HiI have to copy all elements of  treeview of external application in a treeview of my applicationi know the handle of external treeview and i write this code but i have only the root element  IntPtr...

View Article

Grouping in WPF Listbox

Hello Everyone, Is it possible to repeat group name on each group item instead of showing only at the group header. Eg. I have 2 groups Group1 & Group2  Group1 contains 2 items(Item1 & Item2)...

View Article


Implementing a DelegateCommand with reason why is disabled

The following link point out how to show Tooltip ONLY when the control is DISABLED: http://stackoverflow.com/questions/2890872/show-wpf-tooltip-on-disabled-item-onlyThat's nice. However, I need...

View Article

WPF Segoe UI Symbols RightToLeft

Hi,I'm fairly new to wpf and winrt.The team I work with mostly use winforms, but have started using wpf and winrt and I'm charged with making sure that is setup for translation. In winforms, if I have...

View Article


Add textblock inside ItemsPresenter block

Hi Everyone,Is it Possible to add controls inside itemsPresenter as my requirement is to display group name for each group item.Any help will be appreciated..Thanks

View Article

What is Logical Tree and visual Tree in WPF

Hi would like to know what is Logical tree and visual tree in WPF and difference between both. Thanks in advance.

View Article


Blend for Visual Studio 2012

Hi,I want to develop WPF application using Blend, but i cannot find out what version of Visual Studio 2012 includes blend now, does the update include it in all version? does that mean that purchasing...

View Article

Create New Row in WPF DataGrid?

Hello,            How to create New Row programatically each and every row? here i am setting canuserAddNewRow=false in XAML...  which event fires when creating New Row?sivakanth trichy

View Article

Charting with System.Windows.Controls.DataVisualization.Charting

Hi,I'm having kind of a hard time getting started with the charting library included in the WPF Toolkit. I've tried to find the answer in these forums, in the WPF Toolkit discussions and in this well...

View Article
Browsing all 18858 articles
Browse latest View live