Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
}
}
+ internal virtual void NotifyLayoutUpdated(bool forceTriggerRelayout)
+ {
+ if (forceTriggerRelayout && !IsDisposedOrQueued)
+ {
+ onRelayoutEventHandler?.Invoke(this, EventArgs.Empty);
+ }
+ }
+
// Callback for View HitTestResultSignal
private bool OnHitTestResult(IntPtr view, IntPtr touchData)
{
if (!Owner.LayoutWidth.IsFixedValue || !Owner.LayoutHeight.IsFixedValue)
{
Owner.SetSize(right - left, bottom - top);
+ Owner.NotifyLayoutUpdated(false);
}
}
else
{
Owner.SetSize(right - left, bottom - top);
Owner.SetPosition(left, top);
+ Owner.NotifyLayoutUpdated(false);
}
}
return changed;
}
-
[EditorBrowsable(EditorBrowsableState.Never)]
protected virtual void Dispose(bool disposing)
{