|
|
@ -77,8 +77,7 @@ namespace Perspex.Layout |
|
|
/// Notifies the layout manager that a control requires a measure.
|
|
|
/// Notifies the layout manager that a control requires a measure.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <param name="control">The control.</param>
|
|
|
/// <param name="control">The control.</param>
|
|
|
/// <param name="distance">The control's distance from the layout root.</param>
|
|
|
public void InvalidateMeasure(ILayoutable control) |
|
|
public void InvalidateMeasure(ILayoutable control, int distance) |
|
|
|
|
|
{ |
|
|
{ |
|
|
Contract.Requires<ArgumentNullException>(control != null); |
|
|
Contract.Requires<ArgumentNullException>(control != null); |
|
|
Dispatcher.UIThread.VerifyAccess(); |
|
|
Dispatcher.UIThread.VerifyAccess(); |
|
|
@ -92,8 +91,7 @@ namespace Perspex.Layout |
|
|
/// Notifies the layout manager that a control requires an arrange.
|
|
|
/// Notifies the layout manager that a control requires an arrange.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <param name="control">The control.</param>
|
|
|
/// <param name="control">The control.</param>
|
|
|
/// <param name="distance">The control's distance from the layout root.</param>
|
|
|
public void InvalidateArrange(ILayoutable control) |
|
|
public void InvalidateArrange(ILayoutable control, int distance) |
|
|
|
|
|
{ |
|
|
{ |
|
|
Contract.Requires<ArgumentNullException>(control != null); |
|
|
Contract.Requires<ArgumentNullException>(control != null); |
|
|
Dispatcher.UIThread.VerifyAccess(); |
|
|
Dispatcher.UIThread.VerifyAccess(); |
|
|
|