Browse Source

Fixed typo.

pull/691/head
Steven Kirk 10 years ago
parent
commit
736d290f19
  1. 2
      src/Avalonia.Base/AvaloniaObjectExtensions.cs
  2. 4
      src/Avalonia.Base/PropertyMetadata.cs

2
src/Avalonia.Base/AvaloniaObjectExtensions.cs

@ -220,7 +220,7 @@ namespace Avalonia
target,
property,
anchor,
property.GetMetadata(target.GetType()).EnabledDataValidation);
property.GetMetadata(target.GetType()).EnableDataValidation);
if (result != null)
{

4
src/Avalonia.Base/PropertyMetadata.cs

@ -25,7 +25,7 @@ namespace Avalonia
bool enableDataValidation = false)
{
_defaultBindingMode = defaultBindingMode;
EnabledDataValidation = enableDataValidation;
EnableDataValidation = enableDataValidation;
}
/// <summary>
@ -49,7 +49,7 @@ namespace Avalonia
/// control (such as a TextBox's Text property) will be interested in recieving data
/// validation messages so this feature must be explicitly enabled by setting this flag.
/// </remarks>
public bool EnabledDataValidation { get; }
public bool EnableDataValidation { get; }
/// <summary>
/// Merges the metadata with the base metadata.

Loading…
Cancel
Save