/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
private Extents _padding;
private Extents _margin;
+ private bool parentReplacement = false;
+
/// <summary>
/// [Draft] Condition event that is causing this Layout to transition.
/// </summary>
}
}
+ internal void SetReplaceFlag()
+ {
+ parentReplacement = true;
+ }
+
+ internal bool IsReplaceFlag()
+ {
+ return parentReplacement;
+ }
+
+ internal void ClearReplaceFlag()
+ {
+ parentReplacement = false;
+ }
+
/// <summary>
/// Get the measured width (without any measurement flags).<br />
/// This method should be used only during measurement and layout calculations.<br />