Top "Wpf-controls" questions

WPF controls include UserControls, which are composite collections of other controls, and CustomControls, which are controls built with WPF styles and templates.

WPF - Drawing on canvas with mouse events

I have a problem with handling mouse events on canvas. I want to draw on it using mouse and I've …

c# wpf wpf-controls
Understanding Uniform Grid control

I was just trying uniform grid, how it works. Code : <UniformGrid Name="uniformGrid1" Rows="2" Columns="3"> <Button Content="…

wpf wpf-controls uniformgrid
WPF forcing redraw of canvas

Okay, in windows forms you can use .refresh() to cause a redraw event on an element. Is there a similar …

c# wpf wpf-controls redraw
How can I hide the header of a WPF ListView?

I want to be able to hide the header at the top of each grid column in a WPF ListView. …

.net wpf gridview listview wpf-controls
How to automatically scroll ScrollViewer - only if the user did not change scroll position

I would like to create the following behaviour in a ScrollViewer that wraps ContentControl: When the ContentControl height grows , the …

c# wpf .net-3.5 wpf-controls
Can I use NotifyIcon in WPF?

I want to minimizing application to system tray using WPF. Is "NotifyIcon" is the only way to achieve this result? …

c# wpf windows wpf-controls notifyicon
How to add context menu to wpf datagrid?

How does one add a ContextMenu to a DataGrid? I want to be able to right click anywhere on the …

wpf datagrid wpf-controls
Making a progress bar update in real time in wpf

I'm having some trouble making the progress bar show the updates in real time. This is my code right now …

c# wpf wpf-controls
In WPF, how can I determine whether a control is visible to the user?

I'm displaying a very big tree with a lot of items in it. Each of these items shows information to …

.net wpf user-interface wpf-controls visibility
Enabling Scrollbar in WPF

I'm having a problem right now where my WPF application hides anything below the fold when the window is too …

wpf xaml wpf-controls