Questions tagged [wpf-controls]

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

From Microsoft documentation:
Windows Presentation Foundation (WPF) ships with many of the common UI components that are used in almost every Windows application, such as Button, Label, TextBox, Menu, and ListBox. Historically, these objects have been referred to as controls. While the WPF SDK continues to use the term "control" to loosely mean any class that represents a visible object in an application, it is important to note that a class does not need to inherit from the Control class to have a visible presence. Classes that inherit from the Control class (AKA "Custom Controls") contain a ControlTemplate, which allows the consumer of a control to radically change the control's appearance without having to create a new subclass.

5697 questions
2
votes
1 answer

Find children of a user control, in a tab item

I have an issue related to finding children of a user control. The user control resides in a tab item of a tab control XAML
Stefan Fachmann
  • 555
  • 1
  • 5
  • 18
2
votes
1 answer

How does touch / gesture support in WPF compare with Windows Store API

I have been looking but have been unable to find as yet a nice comparison of the differences in touch / gesture support between the Windows Store app API's and WPF. I have seen that WPF includes some basic touch events but do the WPF controls handle…
Gavin Bateup
  • 93
  • 1
  • 8
2
votes
1 answer

How to apply nested Styles from ResourceDictionary in WPF?

I use a DataGrid (WPF 4.0) control. The style for it is placed in a ResourceDictionary and contains a nested Style element: