Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
        /// <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);
        }
Exemplo n.º 3
0
        /// <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);
        }
Exemplo n.º 4
0
        /// <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);
        }