119
119
</Setter .Value>
120
120
</Setter >
121
121
</Style >
122
+
123
+ <wpf : PackIcon x : Shared =" False" x : Key =" MaterialDesignMultiFloatingActionPopupBoxIcon"
124
+ Kind =" Plus" Width =" 24" Height =" 24" Foreground =" {Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:PopupBox}, Path=Foreground}" />
122
125
123
126
<Style TargetType =" {x:Type wpf:PopupBox}" x : Key =" MaterialDesignMultiFloatingActionPopupBox" >
124
127
<Setter Property =" Background" Value =" {DynamicResource PrimaryHueMidBrush}" />
358
361
</ControlTemplate >
359
362
</Setter .Value>
360
363
</Setter >
361
- <Setter Property =" ToggleContent" >
362
- <Setter .Value>
363
- <wpf : PackIcon Kind =" Plus" Width =" 24" Height =" 24"
364
- Foreground =" {DynamicResource PrimaryHueMidForegroundBrush}" />
365
- </Setter .Value>
366
- </Setter >
364
+ <Setter Property =" ToggleContent" Value =" {StaticResource MaterialDesignMultiFloatingActionPopupBoxIcon}" />
367
365
<Style .Triggers>
368
366
<Trigger Property =" UnfurlOrientation" Value =" Horizontal" >
369
367
<Setter Property =" ToolTipService.Placement" Value =" Custom" />
377
375
<Setter Property =" Background" Value =" {DynamicResource PrimaryHueLightBrush}" />
378
376
<Setter Property =" BorderBrush" Value =" {DynamicResource PrimaryHueLightBrush}" />
379
377
<Setter Property =" Foreground" Value =" {DynamicResource PrimaryHueLightForegroundBrush}" />
380
- <Setter Property =" ToggleContent" >
381
- <Setter .Value>
382
- <wpf : PackIcon Kind =" Plus" Width =" 24" Height =" 24"
383
- Foreground =" {DynamicResource PrimaryHueLightForegroundBrush}" />
384
- </Setter .Value>
385
- </Setter >
386
378
</Style >
387
379
388
380
<Style TargetType =" {x:Type wpf:PopupBox}"
391
383
<Setter Property =" Background" Value =" {DynamicResource PrimaryHueDarkBrush}" />
392
384
<Setter Property =" BorderBrush" Value =" {DynamicResource PrimaryHueDarkBrush}" />
393
385
<Setter Property =" Foreground" Value =" {DynamicResource PrimaryHueDarkForegroundBrush}" />
394
- <Setter Property =" ToggleContent" >
395
- <Setter .Value>
396
- <wpf : PackIcon Kind =" Plus" Width =" 24" Height =" 24"
397
- Foreground =" {DynamicResource PrimaryHueDarkForegroundBrush}" />
398
- </Setter .Value>
399
- </Setter >
400
386
</Style >
401
387
402
388
<Style TargetType =" {x:Type wpf:PopupBox}"
405
391
<Setter Property =" Background" Value =" {DynamicResource SecondaryAccentBrush}" />
406
392
<Setter Property =" BorderBrush" Value =" {DynamicResource SecondaryAccentBrush}" />
407
393
<Setter Property =" Foreground" Value =" {DynamicResource SecondaryAccentForegroundBrush}" />
408
- <Setter Property =" ToggleContent" >
409
- <Setter .Value>
410
- <wpf : PackIcon Kind =" Plus" Width =" 24" Height =" 24"
411
- Foreground =" {DynamicResource SecondaryAccentForegroundBrush}" />
412
- </Setter .Value>
413
- </Setter >
414
394
</Style >
415
395
416
396
</ResourceDictionary >
0 commit comments