Autor Beitrag
Cäptin Pommes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 142
Erhaltene Danke: 2



BeitragVerfasst: Sa 21.04.12 04:52 
hi,

ich wollte die größe einer ListBox per EventTrigger verändern wenn ich auf einen Button klicke, nur leider hab ich bei den Triggern keine möglichkeit gefunden ihm zu sagen das nich der Button auf dem geklickt wurde geändert werden soll, sondern die ListBox :/


hab das übergangsweise in C# code Animiert würde es aber lieber schön in xaml haben ... wie müsste das ungefär aussehn?
Th69
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Moderator
Beiträge: 4807
Erhaltene Danke: 1061

Win10
C#, C++ (VS 2017/19/22)
BeitragVerfasst: Sa 21.04.12 09:42 
Hallo,

verwendest du denn ein Storyboard? Denn dort kannst du mit TargetName das zu animierende Control angeben, s. z.B. dotnetslackers.com/a...ToWPFAnimations.aspx
Cäptin Pommes Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 142
Erhaltene Danke: 2



BeitragVerfasst: Sa 21.04.12 10:37 
oh ja ... danke
wie konnt ich das übersehn? ich glaub ich sollte mich so früh nich mehr ans coden machen ^^