Top "User-controls" questions

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

Ambiguous type reference. A type named `VisualState` occurs in at least two namespaces

What is the following error? Ambiguous type reference. A type named 'VisualState' occurs in at least two namespaces, 'System.Windows' …

wpf user-controls
What is the easiest way to share resources between UserControls in a WPF User Control library?

There are a WPF User Control library and two (or more) User Controls in it. I need to use the …

wpf user-controls resourcedictionary
Exposing events of underlying control

I have a combobox in a custom control. How can I expose specific events from it such as SelectedIndexChanged or …

c# winforms user-controls
WPF Passing data object from Main application UI to user control

I have user controls defined to represent the contents of tab items so as to split up a large XAML …

wpf user-controls relativesource
Issues rendering UserControl using Server.Execute() in an ASMX web service

Can anyone explain to why Server.Execute() is requiring my rendered UserControls to contain <form> tags (or alternately, …

c# asp.net user-controls asmx
name 'html' nor name 'model' exist in current context in usercontrol MVC and C#

I am using Microsoft MVC and C#. I have a usercontrol (example.ascx) created and at the top I'm inheriting …

c# asp.net-mvc user-controls viewmodel viewusercontrol
User Control Buttons to Close a Dialog Box

I have created a User Control in my application that has a textbox and then 2 buttons on it. One button …

c# winforms user-controls dialogresult
UserControl's Event Handler not firing

I dynamically load a UserControl into a View that's in a MultiView control. Although the UserControl adds an event handler, …

c# events user-controls multiview
Asp.NET dropdownlist in usercontrol not firing SelectedIndexChanged event

Asp.Net 2.0 framewrok - VB.Net application I have a UserControl containing a Asp.Net DropDownList. Things already researched and \ …

asp.net vb.net drop-down-menu user-controls selectedindexchanged
Does Caliburn.Micro play nicely with user controls?

I'm a novice WPF programmer. I'm trying to add some structure to my code: both User Controls and MVVM. Researching …

wpf mvvm user-controls caliburn.micro