// called every frame public virtual void Refresh(bool instant) { if (StyleDirty) { ApplyStyle(instant); } if (IsVisible && Positioner.Transporting) { Positioner.Refresh(instant || Revealer.CurrentVisibility == 0); } if (Revealer.Transitioning) { Revealer.Refresh(instant); } if (Sizer.Resizing) { Sizer.Refresh(instant); } }