WPF - Creating a Custom ItemsControl

I am creating custom controls for WPF, and I have found some useful blogs and ones that vaguely go into fairly detailed information, but I'm still struggling a bit.

Basically, what I'm trying to create seems to be the infamous "Coda Slider", but I just don’t know enough to get started properly. Can someone point me in the direction of someone / somewhere, to give me a low level of creating custom ItemControls or provide me with basic information, for example, which ItemsControl elements do I need to override?

All help will be kindly received.

+3
source share
4 answers

I saw the same functionality in an open source WPF project called "WittyTwitter". When I looked at the code, they used something called ZapScroller in Kevin Moore's "WPF Bag-o-Tricks" library. He was PM for WPF at Microsoft. Look at here:

http://work.j832.com/2008/03/bag-o-tricks-march-edition.html

+2
source

Creating a custom WPF control is nothing more than writing a class and inheriting a class from the base class that is provided in WPF.

How to create a WPF user control

+2
source

, , , - , , ? ? , Styling and Templating - , .

- , , - , , Google , . , Sacha Barber, .

: , , .

+2

, , "", TabControl .

, TabControl / .

If so, tell us, and we can certainly point you in the right direction. User controls rarely require WPF.

+1
source

Source: https://habr.com/ru/post/1704960/


All Articles