/// <summary> /// Sets the outline brush. /// </summary> /// <param name="obj">The object.</param> /// <param name="value">The value.</param> public static void SetOutlineBrush(MediaElement obj, Brush value) { obj.SetValue(OutlineBrushProperty, value); }
/// <summary> /// Sets the effect. /// </summary> /// <param name="obj">The object.</param> /// <param name="value">The value.</param> public static void SetEffect(MediaElement obj, Effect value) { obj.SetValue(EffectProperty, value); }
/// <summary> /// Sets the width of the outline. /// </summary> /// <param name="obj">The object.</param> /// <param name="value">The value.</param> public static void SetOutlineWidth(MediaElement obj, Thickness value) { obj.SetValue(OutlineWidthProperty, value); }
/// <summary> /// Sets the font family. /// </summary> /// <param name="obj">The object.</param> /// <param name="value">The value.</param> public static void SetFontFamily(MediaElement obj, FontFamily value) { obj.SetValue(FontFamilyProperty, value); }
/// <summary> /// Sets the text foreground. /// </summary> /// <param name="obj">The object.</param> /// <param name="value">The value.</param> public static void SetForeground(MediaElement obj, Brush value) { obj.SetValue(ForegroundProperty, value); }
/// <summary> /// Sets the size of the font. /// </summary> /// <param name="obj">The object.</param> /// <param name="value">The value.</param> public static void SetFontSize(MediaElement obj, double value) { obj.SetValue(FontSizeProperty, value); }
/// <summary> /// Sets the font weight. /// </summary> /// <param name="obj">The object.</param> /// <param name="value">The value.</param> public static void SetFontWeight(MediaElement obj, FontWeight value) { obj.SetValue(FontWeightProperty, value); }
/// <summary> /// Sets the width of the outline. /// </summary> /// <param name="element">The object.</param> /// <param name="value">The value.</param> public static void SetOutlineWidth(MediaElement element, Thickness value) => element?.SetValue(OutlineWidthProperty, value);
/// <summary> /// Sets the outline brush. /// </summary> /// <param name="element">The object.</param> /// <param name="value">The value.</param> public static void SetOutlineBrush(MediaElement element, Brush value) => element?.SetValue(OutlineBrushProperty, value);
/// <summary> /// Sets the text foreground. /// </summary> /// <param name="element">The object.</param> /// <param name="value">The value.</param> public static void SetForeground(MediaElement element, Brush value) => element?.SetValue(ForegroundProperty, value);
/// <summary> /// Sets the effect. /// </summary> /// <param name="element">The object.</param> /// <param name="value">The value.</param> public static void SetEffect(MediaElement element, Effect value) => element?.SetValue(EffectProperty, value);
/// <summary> /// Sets the font family. /// </summary> /// <param name="element">The object.</param> /// <param name="value">The value.</param> public static void SetFontFamily(MediaElement element, FontFamily value) => element?.SetValue(FontFamilyProperty, value);
/// <summary> /// Sets the font weight. /// </summary> /// <param name="element">The object.</param> /// <param name="value">The value.</param> public static void SetFontWeight(MediaElement element, FontWeight value) => element?.SetValue(FontWeightProperty, value);
/// <summary> /// Sets the size of the font. /// </summary> /// <param name="element">The object.</param> /// <param name="value">The value.</param> public static void SetFontSize(MediaElement element, double value) => element?.SetValue(FontSizeProperty, value);
/// <summary> /// Sets the text. /// </summary> /// <param name="element">The object.</param> /// <param name="value">The value.</param> public static void SetText(MediaElement element, string value) => element?.SetValue(TextProperty, value);
/// <summary> /// Sets the text. /// </summary> /// <param name="obj">The object.</param> /// <param name="value">The value.</param> public static void SetText(MediaElement obj, string value) { obj.SetValue(TextProperty, value); }