Presentation is loading. Please wait.

Presentation is loading. Please wait.

Pimp My Listbox Rainer Stropek cubido business solutions gmbh.

Similar presentations


Presentation on theme: "Pimp My Listbox Rainer Stropek cubido business solutions gmbh."— Presentation transcript:

1 Pimp My Listbox Rainer Stropek cubido business solutions gmbh

2

3

4

5 enter the the presentation name in the footer field5 18.10.2007

6

7 Window StackPanel TextBlock TextBox ElementBaum

8 Logischer und Border AdornerDecorator AdornerLayer ContentPresenter String... (ScrollViewer, Grid, Rectangle, ScrollBar, etc.) StackPanel TextBlock TextBox Window

9

10

11 [ContentPropertyAttribute("Items")] [LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)] [StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=typeof(FrameworkElement))] public class ItemsControl : Control, IAddChild [ContentPropertyAttribute("Items")] [LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)] [StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=typeof(FrameworkElement))] public class ItemsControl : Control, IAddChild Ein Text! Ein Text!

12 DEMO... Füllen einer Listbox im XAML-Code

13 [...]\Images [...]\Images

14 DEMO... Füllen einer Listbox mit Data Binding

15

16 Resourcen...... Lokale Resourcen............ Resourcen in Windows oder Pages............ Resourcen in app.xaml

17 Styles

18 DEMO... Styling der Listbox

19 Templates FrameworkTemplateDataTemplateControlTemplateItemsPanelTemplate

20

21 Data Trigger......

22 DEMO... Data Template mit Data Trigger

23 Control Template

24 DEMO... Control Template mit Trigger

25 Ein Text!... Ein Text!...

26

27 DEMO… ListBox mit WrapPanel statt StackPanel 27

28

29 DEMO... ItemsPanelTemplate, individuelles Panel

30 Custom Controls Logik Design

31 DEMO... Custom Control

32 enter the the presentation name in the footer field32 18.10.2007

33 r.stropek@cubido.at oder rainer@software-architects.atrainer@software-architects.at Karin Huber, Rainer Stropek Software Architects


Download ppt "Pimp My Listbox Rainer Stropek cubido business solutions gmbh."

Similar presentations


Ads by Google