diff options
author | Eric Maupin <ermaup@microsoft.com> | 2019-01-24 20:24:28 +0300 |
---|---|---|
committer | Eric Maupin <ermaup@microsoft.com> | 2019-01-24 20:24:28 +0300 |
commit | b08c453dcd7558440d259ac86fae72fabd2ab699 (patch) | |
tree | b86b9eb39e20269b68ccf111a07e0efac9268512 /Xamarin.PropertyEditing/TargetPlatform.cs | |
parent | 5501d90e114ce33afed221c7fd686d6ba3aca0ef (diff) |
[Core] Allow TargetPlatform to specify arrange modes
Diffstat (limited to 'Xamarin.PropertyEditing/TargetPlatform.cs')
-rw-r--r-- | Xamarin.PropertyEditing/TargetPlatform.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Xamarin.PropertyEditing/TargetPlatform.cs b/Xamarin.PropertyEditing/TargetPlatform.cs index f804235..be136d6 100644 --- a/Xamarin.PropertyEditing/TargetPlatform.cs +++ b/Xamarin.PropertyEditing/TargetPlatform.cs @@ -112,6 +112,15 @@ namespace Xamarin.PropertyEditing } /// <summary> + /// Gets or sets a list of the allowed arrange modes. + /// </summary> + public IReadOnlyList<PropertyArrangeMode> ArrangeModes + { + get; + set; + } = new[] { PropertyArrangeMode.Name, PropertyArrangeMode.Category }; + + /// <summary> /// Gets or sets a callback for errors that should be edge cases and/or don't have a defined way of displaying in the UI. /// </summary> /// <remarks> @@ -145,6 +154,7 @@ namespace Xamarin.PropertyEditing SupportsBrushOpacity = SupportsBrushOpacity, GroupedTypes = GroupedTypes, AutoExpandGroups = AutoExpandGroups, + ArrangeModes = ArrangeModes, ErrorHandler = ErrorHandler }; } |