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; } }
public static void SetTitleEx(BindableObject view, Text.TextEx value) { view.SetValue(TitleExProperty, value); }