diff options
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 }; } |