public static void OnIconSizeFrontChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { DualFabricIconControl sender = o as DualFabricIconControl; if (sender != null) { sender.fabicnFront.FontSize = sender.IconSizeFront; } }
public static void OnGlyphNameBackChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { DualFabricIconControl sender = o as DualFabricIconControl; if (sender != null) { sender.fabicnBack.GlyphName = sender.GlyphNameBack; } }
public static void OnForegroundChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { DualFabricIconControl sender = o as DualFabricIconControl; if (sender != null) { sender.fabicnFront.Foreground = sender.Foreground; } }