Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Maupin <ermaup@microsoft.com>2019-01-24 20:24:28 +0300
committerEric Maupin <ermaup@microsoft.com>2019-01-24 20:24:28 +0300
commitb08c453dcd7558440d259ac86fae72fabd2ab699 (patch)
treeb86b9eb39e20269b68ccf111a07e0efac9268512 /Xamarin.PropertyEditing/TargetPlatform.cs
parent5501d90e114ce33afed221c7fd686d6ba3aca0ef (diff)
[Core] Allow TargetPlatform to specify arrange modes
Diffstat (limited to 'Xamarin.PropertyEditing/TargetPlatform.cs')
-rw-r--r--Xamarin.PropertyEditing/TargetPlatform.cs10
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
};
}