Ejemplo n.º 1
0
 public void ApplyState(TextEx state)
 {
     if (FontSize == null)
     {
         FontSize = state.FontSize;
     }
     if (Bold == null)
     {
         Bold = state.Bold;
     }
     if (Italic == null)
     {
         Italic = state.Italic;
     }
     if (Strike == null)
     {
         Strike = state.Strike;
     }
     if (Sub == null)
     {
         Sub = state.Sub;
     }
     if (Super == null)
     {
         Super = state.Super;
     }
     if (Foreground == null)
     {
         Foreground = state.Foreground;
     }
 }
Ejemplo n.º 2
0
 public static void SetTitleEx(BindableObject view, Text.TextEx value)
 {
     view.SetValue(TitleExProperty, value);
 }