Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
Exemplo n.º 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);
Exemplo n.º 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);
Exemplo n.º 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);
Exemplo n.º 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);
Exemplo n.º 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);
Exemplo n.º 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);
Exemplo n.º 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);
Exemplo n.º 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);
 }