Beispiel #1
0
 public void setFontStyle(MyFontStyle _myFontStyle)
 {
     uiElement.FontStyle = _myFontStyle.getFontStyle();
 }
 /// <summary>
 /// Set the font style.
 /// </summary>
 /// <param name="_myFontStyle">A MyFontStyle param.</param>
 /// <typeparam name="MyFontStyle"></typeparam>
 /// <returns>IMyTextBlock</returns>
 public IMyTextBlock setFontStyle(MyFontStyle myFontStyle)
 {
     myTextBlock_tb.FontStyle = myFontStyle.getFontStyle();
     return(this);
 }