diff --git a/src/Avalonia.Controls/Window.cs b/src/Avalonia.Controls/Window.cs
index f3ad4dbbd9..893859b915 100644
--- a/src/Avalonia.Controls/Window.cs
+++ b/src/Avalonia.Controls/Window.cs
@@ -19,27 +19,28 @@ namespace Avalonia.Controls
///
/// Determines how a will size itself to fit its content.
///
+ [Flags]
public enum SizeToContent
{
///
/// The window will not automatically size itself to fit its content.
///
- Manual,
+ Manual = 0,
///
/// The window will size itself horizontally to fit its content.
///
- Width,
+ Width = 1,
///
/// The window will size itself vertically to fit its content.
///
- Height,
+ Height = 2,
///
/// The window will size itself horizontally and vertically to fit its content.
///
- WidthAndHeight,
+ WidthAndHeight = 3,
}
///