51 references to FontElement
Microsoft.Maui.Controls (51)
Button\Button.cs (4)
59 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 64 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 74 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 79 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)
37 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 40 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 43 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 46 public static readonly BindableProperty FontAutoScalingEnabledProperty = FontElement.FontAutoScalingEnabledProperty;
InputView\InputView.cs (4)
55 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 57 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 59 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 61 public static readonly BindableProperty FontAutoScalingEnabledProperty = FontElement.FontAutoScalingEnabledProperty;
Label\Label.cs (4)
36 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 39 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 42 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 45 public static readonly BindableProperty FontAutoScalingEnabledProperty = FontElement.FontAutoScalingEnabledProperty;
Picker\Picker.cs (4)
51 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 54 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 57 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 60 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)
85 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 88 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 91 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 94 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)
32 public static readonly BindableProperty FontFamilyProperty = FontElement.FontFamilyProperty; 35 public static readonly BindableProperty FontSizeProperty = FontElement.FontSizeProperty; 38 public static readonly BindableProperty FontAttributesProperty = FontElement.FontAttributesProperty; 41 public static readonly BindableProperty FontAutoScalingEnabledProperty = FontElement.FontAutoScalingEnabledProperty;