Top "User-controls" questions

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

WPF animation: binding to the "To" attribute of storyboard animation

I'm trying to create a button that behaves similarly to the "slide" button on the iPhone. I have an animation …

wpf data-binding animation user-controls
Difference between Resize and SizeChanged events

In C# .Net in Winforms, I found two events in almost all components, Resize() and SizeChanged(). Is there any difference …

c# winforms user-controls
How to fire Unload event of Usercontrol in a WPF window

I have an UserControl in WPF: <UserControl x:Class="XLogin.DBLogin" x:Name="DBLoginUserFrame" xmlns="http://schemas.microsoft.com/…

wpf xaml events user-controls routedevents
My control is "not allowed here because it does not extend class 'System.Web.UI.UserControl'"

So I have another noodle-scratcher (for me anyway). I'm trying to create my own custom control in a CMS I …

c# custom-controls user-controls extend
How to create WPF usercontrol which contains placeholders for later usage

I'd better ask the question by example. Let's say I have UserControl and Window which uses this control. I would …

wpf user-controls containers placeholder
The type 'UserControl' does not support direct content

I have an Outlook 2013 and 2016 VSTO Add-in project and am trying to add a WPF user control to a custom …

c# wpf xaml user-controls outlook-addin
asp.net: what's the page life cycle order of a control/page compared to a user contorl inside it?

I have an aspx and inside it an ascx. From a short testing I see the PageLoad of the aspx …

asp.net user-controls page-lifecycle
Close current UserControl

I have a Window1.xaml main Window; and after some event, I display a UserControl EditFile.xaml. The code behind …

wpf user-controls parent children
Difference between DesignWidth and Width in UserControl in WPF

When I create a new UserControl in WPF, studio creates some XAML: <UserControl x:Class="MOG.Objects.Date.Calender" …

c# wpf xaml user-controls
How to close a form in UserControl

I created a UserControl with the buttons Save, Close and Cancel. I want to close the form without saving on …

c# winforms user-controls visual-c#-express-2010