Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong property names of InputField #467

Merged
merged 1 commit into from
Oct 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/UraniumUI.Material/Controls/InputField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ protected virtual void OnCornerRadiusChanged()
public double BorderThickness { get => (double)GetValue(BorderThicknessProperty); set => SetValue(BorderThicknessProperty, value); }

public static readonly BindableProperty BorderThicknessProperty = BindableProperty.Create(
nameof(BorderColor),
nameof(BorderThickness),
typeof(double),
typeof(InputField),
1.0,
Expand All @@ -388,7 +388,7 @@ protected virtual void OnCornerRadiusChanged()
public Color InputBackgroundColor { get => (Color)GetValue(InputBackgroundColorProperty); set => SetValue(InputBackgroundColorProperty, value); }

public static readonly BindableProperty InputBackgroundColorProperty = BindableProperty.Create(
nameof(BorderColor),
nameof(InputBackgroundColor),
typeof(Color),
typeof(InputField),
Colors.Transparent,
Expand All @@ -397,7 +397,7 @@ protected virtual void OnCornerRadiusChanged()
public Brush InputBackground { get => (Brush)GetValue(InputBackgroundProperty); set => SetValue(InputBackgroundProperty, value); }

public static readonly BindableProperty InputBackgroundProperty = BindableProperty.Create(
nameof(BorderColor),
nameof(InputBackground),
typeof(Brush),
typeof(InputField),
Brush.Transparent,
Expand Down