4Developers 2015: Twoja własna profesjonalna kontrolka WPF - tak jak robią to najwięksi...

Preview:

Citation preview

Your own professional WPF control –

how do the greatest vendors do that?Marcin Kawalerowicz | Marcin Słowik – CODEFUSION Sp. z o.o.

What will we learn here?

• How to create WPF control like

Infragistics, Telerik or DevExpress do it.

• How to climb on the WPF/XAML

knowledge ladder.

• How to create reusable, MVVM friendly

user control for your WPF projects.

What we will not learn

here?

• Create your own or buy 3rd party control?

It depends!

Create your own or buy 3rd

party?

• Infragistics

• Telerik

• DevExpress

What we will create?

• Create a toolbar with possible second

level of options, like this one from

Photoshop CS5:

• That could look like our SPL

toolbar:

The end effect will look like

this

• Super toolbar

• Unwrapped item

What don’t we want?

• Full XAML based toolbar definition

(although possible)

• Full replacement for licensed controls

(they save you time, use it!)

PHASE 1: RADIO BUTTON WITH DROP

DOWN

Demo

What we did in phase 1?

• Created reusable radio button with style

• Added tringle for the extender

• Created extender content

• Made the extender content behave

PHASE 2: TOOLBAR

Demo

What we did in phase 2

• Created toolbar

• Reused custom radio button with extender

Future

• Full XAML based control

Thank you very much!

CODEFUSION Sp. z o.o.

ul. Armii Krajowej 16/2

45-071 Opole

+48 77 54 53 312

info@codefusion.pl

Marcin Słowik

Senior developer | CODEFUSION Sp. z o. o.

Marcin Kawalerowicz

CEO | CODEFUSION Sp. z o. o.

marcin@kawalerowicz.net

Blog: http://www.iprogrammable.com

LinkedIn: http://www.linkedin.com/in/marcinkawalerowicz