71
71
<Setter Property =" PlacementMode" Value =" TopAndAlignCentres" />
72
72
<Setter Property =" PopupMode" Value =" MouseOverEager" />
73
73
<Setter Property =" ToolTipService.Placement" Value =" Left" />
74
+ <Setter Property =" ToolTipService.IsEnabled" Value =" False" />
74
75
<Setter Property =" HorizontalAlignment" Value =" Left" />
75
76
<Setter Property =" BorderThickness" Value =" 1" />
76
77
<Setter Property =" Cursor" Value =" Hand" />
201
202
Foreground =" {TemplateBinding Foreground}"
202
203
VerticalAlignment =" Stretch"
203
204
HorizontalAlignment =" Stretch"
205
+ ToolTip =" {TemplateBinding ToolTip}"
206
+ ToolTipService.Placement=" {Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:PopupBox}, Path=(ToolTipService.Placement)}"
204
207
/>
205
208
<controlz : PopupEx x : Name =" PART_Popup"
206
209
IsOpen =" False"
267
270
</Setter >
268
271
</Style >
269
272
273
+ <Style TargetType =" {x:Type wpf:PopupBox}"
274
+ x : Key =" MaterialDesignMultiFloatingActionLightPopupBox"
275
+ BasedOn =" {StaticResource MaterialDesignMultiFloatingActionPopupBox}" >
276
+ <Setter Property =" Background" Value =" {DynamicResource PrimaryHueLightBrush}" />
277
+ <Setter Property =" BorderBrush" Value =" {DynamicResource PrimaryHueLightBrush}" />
278
+ <Setter Property =" Foreground" Value =" {DynamicResource PrimaryHueLightForegroundBrush}" />
279
+ <Setter Property =" ToggleContent" >
280
+ <Setter .Value>
281
+ <Viewbox Width =" 24" Height =" 24" >
282
+ <Canvas Width =" 24" Height =" 24" >
283
+ <Path Data =" M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"
284
+ Fill =" {DynamicResource PrimaryHueLightForegroundBrush}" />
285
+ </Canvas >
286
+ </Viewbox >
287
+ </Setter .Value>
288
+ </Setter >
289
+ </Style >
290
+
291
+ <Style TargetType =" {x:Type wpf:PopupBox}"
292
+ x : Key =" MaterialDesignMultiFloatingActionDarkPopupBox"
293
+ BasedOn =" {StaticResource MaterialDesignMultiFloatingActionPopupBox}" >
294
+ <Setter Property =" Background" Value =" {DynamicResource PrimaryHueDarkBrush}" />
295
+ <Setter Property =" BorderBrush" Value =" {DynamicResource PrimaryHueDarkBrush}" />
296
+ <Setter Property =" Foreground" Value =" {DynamicResource PrimaryHueDarkForegroundBrush}" />
297
+ <Setter Property =" ToggleContent" >
298
+ <Setter .Value>
299
+ <Viewbox Width =" 24" Height =" 24" >
300
+ <Canvas Width =" 24" Height =" 24" >
301
+ <Path Data =" M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"
302
+ Fill =" {DynamicResource PrimaryHueDarkForegroundBrush}" />
303
+ </Canvas >
304
+ </Viewbox >
305
+ </Setter .Value>
306
+ </Setter >
307
+ </Style >
308
+
309
+ <Style TargetType =" {x:Type wpf:PopupBox}"
310
+ x : Key =" MaterialDesignMultiFloatingActionAccentPopupBox"
311
+ BasedOn =" {StaticResource MaterialDesignMultiFloatingActionPopupBox}" >
312
+ <Setter Property =" Background" Value =" {DynamicResource SecondaryAccentBrush}" />
313
+ <Setter Property =" BorderBrush" Value =" {DynamicResource SecondaryAccentBrush}" />
314
+ <Setter Property =" Foreground" Value =" {DynamicResource SecondaryAccentForegroundBrush}" />
315
+ <Setter Property =" ToggleContent" >
316
+ <Setter .Value>
317
+ <Viewbox Width =" 24" Height =" 24" >
318
+ <Canvas Width =" 24" Height =" 24" >
319
+ <Path Data =" M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"
320
+ Fill =" {DynamicResource SecondaryAccentForegroundBrush}" />
321
+ </Canvas >
322
+ </Viewbox >
323
+ </Setter .Value>
324
+ </Setter >
325
+ </Style >
326
+
270
327
</ResourceDictionary >
0 commit comments