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.

Is there any unique identifier for wpf UIElement?

For logging user actions in my WPF forms, I added some global event handlers I want to log exactly which …

c# wpf wpf-controls uielement
WrapPanel not wrapping when in a StackPanel with Horizontal orientation

The labels in the example below (WPF/XAML) just parade off the screen, no wrapping occurs. Removing the orientation works, …

wpf xaml wpf-controls stackpanel wrappanel
WPF: Adding an image to a ListBox ItemTemplate

I am creating a WPF app with a list box that I am binding to project names. As a decorative …

wpf image listbox wpf-controls itemtemplate
Run vs. Content vs. Text in WPF

In a WPF (or even a Windows 8 or 8.1 application) you have three possible ways to add a text in a …

c# wpf xaml wpf-controls
Force rendering of a WPF control in memory

I have the following code: void Test() { currentImage.Source = GetBitmap(); RenderTargetBitmap rtb = new RenderTargetBitmap(100, 100, 96.0, 96.0, PixelFormats.Default); rtb.Render(currentImage); } This …

wpf wpf-controls
Applying a WPF Style to multiple controls

This question is probably a duplicate, but I couldn't find it on SO. If I have a container Window, StackPanel, …

.net xaml wpf-controls styles
Handle editable hierarchical data / TreeView~DataGrid hybrid

I am looking for a WPF control which is a hybrid of TreeView and DataGrid, something like the Visual Studio …

wpf datagrid controls treeview wpf-controls
Positioning UIElement on a Canvas

I have a canvas and a red rectangle laid on it. Rectangle has a MouseDown event handler implemented: private void …

wpf canvas wpf-controls uielement wpf-positioning
How to control the Visibility of a textbox with radio button "IsChecked" property?

How to control the Visibility of a textbox with radio button "IsChecked" property? I have a Two textbox's let say …

wpf wpf-controls binding
How Can I Open a WPF Popup with a Delay?

I simply want to open up the WPF Popup with a delay, sort of like a ToolTip. How can I …

wpf wpf-controls popup delay