/// <summary> /// Called when the cell index or span of a child has been changed. /// </summary> private void CellChanged() { if (IgnoreObject || DisableLayoutUpdate) { return; } //Debug.Log(String.Format("{0}.LayoutChanged()", Name)); LayoutRoot?.RegisterChangeHandler(OnCellChanged); }
/// <summary> /// Called when size of the view has been changed. /// </summary> protected void SizeChanged() { if (IgnoreObject || DisableLayoutUpdate) { return; } //Debug.Log(String.Format("{0}.OnSizeChanged()", Name)); LayoutRoot.RegisterChangeHandler(OnSizeChanged); }
/// <summary> /// Called when a child changes its layout. /// </summary> protected override void ChildLayoutChanged() { base.ChildLayoutChanged(); if (IgnoreObject) { return; } // the layout of the list item needs to be updated LayoutRoot.RegisterChangeHandler(OnFrameChildLayoutChanged); }
/// <summary> /// Called when a child changes its layout. /// </summary> protected override void ChildLayoutChanged() { base.ChildLayoutChanged(); if (IgnoreObject) { return; } // the layout of the group needs to be updated LayoutRoot.RegisterChangeHandler(OnRadioButtonChildLayoutChanged); }