Top "User-controls" questions

A UserControl is a separate, reusable input control that allows a user to interact with an application.

When to add a Component Class vs User Control?

I have a general idea, and there are some obvious cases, but there are also some gray areas for me …

c# user-controls controls components
Type.GetType() returning null

I have a web application that dynamically creates a web page using usercontrols. Within my code I have the following: …

c# asp.net web-applications user-controls gettype
Window vs User Control

Is there a difference between window and user control? It seems to me that these two are exactly the same. …

wpf user-controls
WPF share column width between separate grids

I have the following setup on my WPF UserControl: <GroupBox> <Grid> ... <Grid> <Grid.…

wpf grid user-controls styling
Control vs UserControl in WinForms?

What is the difference between a Control and a UserControl in .NET WinForms? I want to create a custom control, …

.net winforms user-controls controls
C# generics usercontrol

I would like to define the following control: public partial class ObjectSelectorControl<T> : UserControl where T : class The …

c# generics user-controls
WPF: reverting brush to default/original

I'm a complete newbie at WPF. At the moment I'm making a usercontrol for form elements called "LabeledTextbox" which contains …

wpf user-controls default
WPF XAML Changing Image opacity on IsEnabled state

I would like to have the image to have an opacity of .50 when the IsEnabled is false. I have been …

wpf xaml user-controls opacity isenabled
DesignMode with nested Controls

Has anyone found a useful solution to the DesignMode problem when developing controls? The issue is that if you nest …

.net user-controls