Example #1
0
 /// <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);
 }
Example #2
0
 /// <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);
 }
Example #3
0
 /// <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);
 }
Example #4
0
 /// <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);
 }
Example #5
0
 /// <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);
 }
Example #6
0
 /// <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);
 }
Example #7
0
 /// <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);
 }
Example #8
0
 /// <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);
Example #9
0
 /// <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);
Example #10
0
 /// <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);
Example #11
0
 /// <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);
Example #12
0
 /// <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);
Example #13
0
 /// <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);
Example #14
0
 /// <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);
Example #15
0
 /// <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);
Example #16
0
 /// <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);
 }