From e72207397b009743f5f8e03d54fd31545b86ad32 Mon Sep 17 00:00:00 2001 From: Maarten Schreuder Date: Mon, 21 Sep 2020 19:57:53 +0200 Subject: [PATCH] Fixed typo in MaterialTextField --- XF.Material/UI/MaterialTextField.xaml | 2 +- XF.Material/UI/MaterialTextField.xaml.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/XF.Material/UI/MaterialTextField.xaml b/XF.Material/UI/MaterialTextField.xaml index b7646d03..2b72e706 100644 --- a/XF.Material/UI/MaterialTextField.xaml +++ b/XF.Material/UI/MaterialTextField.xaml @@ -30,7 +30,7 @@ x:Name="backgroundCard" Grid.Row="0" Grid.ColumnSpan="3" - BackgroundColor="{Binding CardBackgroudColor,Source={x:Reference ThisControl}}" + BackgroundColor="{Binding CardBackgroundColor,Source={x:Reference ThisControl}}" CornerRadius="4,4,0,0" /> /// Gets or sets the background color of this text field. /// - public Color CardBackgroudColor + public Color CardBackgroundColor { get => (Color)GetValue(CardBackgroundColorProperty); set => SetValue(CardBackgroundColorProperty, value); @@ -1069,7 +1069,7 @@ private void OnBackgroundColorChanged() if (base.BackgroundColor != Color.Transparent) { if(base.BackgroundColor != Color.Default) - CardBackgroudColor = base.BackgroundColor; + CardBackgroundColor = base.BackgroundColor; base.BackgroundColor = Color.Transparent; } }