diff options
author | Eric Maupin <ermaup@microsoft.com> | 2018-10-05 19:27:00 +0300 |
---|---|---|
committer | Eric Maupin <ermaup@microsoft.com> | 2018-11-12 22:17:15 +0300 |
commit | ac515ea27c99333b4358fa585fa884186c636631 (patch) | |
tree | 529d3dc169ec2939c51897b4808b7ce9f7e3338b /Xamarin.PropertyEditing.Mac/Controls | |
parent | 3ef9cf3c6df8dcd3f7d523c8dbbc8c363ee1c08b (diff) |
[mac] Do not hide property button on readonly
Useful functions and statuses can still be displayed for properties that are read
only, such as converting that value to a resource, displaying errors, etc.
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/Custom/PropertyButton.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/PropertyButton.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/PropertyButton.cs index 1001ac1..a990d02 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/Custom/PropertyButton.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/PropertyButton.cs @@ -27,9 +27,6 @@ namespace Xamarin.PropertyEditing.Mac viewModel = value; viewModel.PropertyChanged += OnPropertyChanged; - // No point showing myself if you can't do anything with me. - Hidden = !viewModel.Property.CanWrite; - ValueSourceChanged (viewModel.ValueSource); } } |