WPF Controls | 33 -User Controls | Part 1

preview_player
Показать описание
Welcome to WPF tutorials | User Control in WPF

In this part of User Controls in WPF series, we're going to talk about User Controls in WPF. We're going to see how to create a use a simple user control using C#, XAML and VS2019. The first example we're going to cover is how to create a TimePicker User Control using four Repeat Buttons and a TextBox inside a Grid.

Feel Free to drop comments, questions and suggestions below.

#User Control in WPF
#How to Create User Control in WPF?
#How to User User Control in WPF?

Рекомендации по теме
Комментарии
Автор

Gracias, me salvaste de tener un codigo espaguetti 😘😘😘😘

humbertomoli
Автор

I am putting into practice making an application in WPF that simulates a shopping basket, very similar to your example. What shocks me is that the RAM memory greatly increases its consumption by the Application in question.

What I currently do is create an instance of the custom control, pass it the values that it will display in the UI, then append it to a listbox, finally when I "delete" an item or the "basket" that contains those user controls, the My memory is still busy, it honestly keeps me up at night knowing why, I haven't found anything yet. Please help.

juancarlosrodriguez
Автор

Sorry but it is hard to follow what you do if you:
1 Don't give the code.
or
2 Don't give me a chance to copy what you just copy/paste from somewhere.
I am disappointed.

alfredclausen