зеркало из https://github.com/DeGsoft/maui-linux.git
22 строки
716 B
C#
22 строки
716 B
C#
using System.ComponentModel;
|
|
|
|
namespace Xamarin.Forms.Internals
|
|
{
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
public interface IFontElement
|
|
{
|
|
//note to implementor: implement these properties publicly
|
|
FontAttributes FontAttributes { get; }
|
|
string FontFamily { get; }
|
|
|
|
[TypeConverter(typeof(FontSizeConverter))]
|
|
double FontSize { get; }
|
|
|
|
//note to implementor: but implement these methods explicitly
|
|
void OnFontFamilyChanged(string oldValue, string newValue);
|
|
void OnFontSizeChanged(double oldValue, double newValue);
|
|
double FontSizeDefaultValueCreator();
|
|
void OnFontAttributesChanged(FontAttributes oldValue, FontAttributes newValue);
|
|
void OnFontChanged(Font oldValue, Font newValue);
|
|
}
|
|
} |