51 references to FontElement
Microsoft.Maui.Controls (51)
Button\Button.cs (4)
57 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 62 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 72 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 77 public static readonly BindableProperty FontAutoScalingEnabledProperty = FontElement.FontAutoScalingEnabledProperty;
ContentConverter.cs (6)
89 if (ShouldSetBinding(content, FontElement.FontAttributesProperty)) 91 content.SetBinding(FontElement.FontAttributesProperty, static (IFontElement fe) => fe.FontAttributes, source: source); 94 if (ShouldSetBinding(content, FontElement.FontSizeProperty)) 96 content.SetBinding(FontElement.FontSizeProperty, static (IFontElement fe) => fe.FontSize, source: source); 99 if (ShouldSetBinding(content, FontElement.FontFamilyProperty)) 101 content.SetBinding(FontElement.FontFamilyProperty, static (IFontElement fe) => fe.FontFamily, source: source);
DatePicker\DatePicker.cs (4)
35 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 38 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 41 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 44 public static readonly BindableProperty FontAutoScalingEnabledProperty = FontElement.FontAutoScalingEnabledProperty;
InputView\InputView.cs (4)
52 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 54 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 56 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 58 public static readonly BindableProperty FontAutoScalingEnabledProperty = FontElement.FontAutoScalingEnabledProperty;
Label\Label.cs (4)
33 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 36 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 39 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 42 public static readonly BindableProperty FontAutoScalingEnabledProperty = FontElement.FontAutoScalingEnabledProperty;
Picker\Picker.cs (4)
48 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 51 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 54 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 57 public static readonly BindableProperty FontAutoScalingEnabledProperty = FontElement.FontAutoScalingEnabledProperty;
Properties\AssemblyInfo.cs (3)
102[assembly: StyleProperty("font-family", typeof(IFontElement), nameof(FontElement.FontFamilyProperty), Inherited = true)] 103[assembly: StyleProperty("font-size", typeof(IFontElement), nameof(FontElement.FontSizeProperty), Inherited = true)] 104[assembly: StyleProperty("font-style", typeof(IFontElement), nameof(FontElement.FontAttributesProperty), Inherited = true)]
RadioButton\RadioButton.cs (4)
82 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 85 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 88 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 91 public static readonly BindableProperty FontAutoScalingEnabledProperty = FontElement.FontAutoScalingEnabledProperty;
Shell\SearchHandler.cs (4)
148 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 151 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 154 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 157 public static readonly BindableProperty FontAutoScalingEnabledProperty = FontElement.FontAutoScalingEnabledProperty;
Span.cs (10)
91 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 94 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 97 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 100 public static readonly BindableProperty FontAutoScalingEnabledProperty = FontElement.FontAutoScalingEnabledProperty; 108 get { return (FontAttributes)GetValue(FontElement.FontAttributesProperty); } 109 set { SetValue(FontElement.FontAttributesProperty, value); } 115 get { return (string)GetValue(FontElement.FontFamilyProperty); } 116 set { SetValue(FontElement.FontFamilyProperty, value); } 123 get { return (double)GetValue(FontElement.FontSizeProperty); } 124 set { SetValue(FontElement.FontSizeProperty, value); }
TimePicker\TimePicker.cs (4)
30 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 33 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 36 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 39 public static readonly BindableProperty FontAutoScalingEnabledProperty = FontElement.FontAutoScalingEnabledProperty;