Pilz.UI.AvaloniaUI.Features
This commit is contained in:
33
Pilz.UI.AvaloniaUI.Features/FeatureInsertMode.cs
Normal file
33
Pilz.UI.AvaloniaUI.Features/FeatureInsertMode.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using Pilz.Features;
|
||||
|
||||
namespace Pilz.UI.AvaloniaUI.Features;
|
||||
|
||||
[Flags]
|
||||
public enum FeatureInsertMode
|
||||
{
|
||||
/// <summary>
|
||||
/// Features will be inserted at the end of the collection.
|
||||
/// </summary>
|
||||
Default = 0,
|
||||
/// <summary>
|
||||
/// Features will be inserted at the end of the collection.
|
||||
/// This is the default behavior and equals <see cref="Default"/>.
|
||||
/// </summary>
|
||||
DefaultEnd = Default,
|
||||
/// <summary>
|
||||
/// Features will be inserted at the start of the collection.
|
||||
/// </summary>
|
||||
DefaultStart = 1,
|
||||
/// <summary>
|
||||
/// Features with prioritization <see cref="FeaturePrioritization.High"/> will be inserted at the top (or left).
|
||||
/// </summary>
|
||||
InsertTop = 1 << 2,
|
||||
/// <summary>
|
||||
/// Features with prioritization <see cref="FeaturePrioritization.Low"/> will be inserted at the bottom (or right).
|
||||
/// </summary>
|
||||
InsertBottom = 1 << 3,
|
||||
/// <summary>
|
||||
/// Features with prioritization other then <see cref="FeaturePrioritization.Default"/> will be inserted at the top or bottom.
|
||||
/// </summary>
|
||||
InsertTopAndBottom = InsertTop | InsertBottom,
|
||||
}
|
||||
Reference in New Issue
Block a user