/// <summary> /// Add the spacing views into the indexed docker. /// </summary> /// <param name="i">Index of docker.</param> /// <param name="spacerL">Spacer for the left side.</param> /// <param name="spacerR">Spacer for the right side.</param> protected override void AddSpacersToDocker(int i, ViewLayoutMetricSpacer spacerL, ViewLayoutMetricSpacer spacerR) { // Get the indexed instance ViewLayoutDocker viewDocker = _viewDockers[i]; // Add them into the view docker instance viewDocker.Add(spacerL, ViewDockStyle.Left); viewDocker.Add(spacerR, ViewDockStyle.Right); }
/// <summary> /// Add the spacing views into the indexed docker. /// </summary> /// <param name="i">Index of docker.</param> /// <param name="spacerL">Spacer for the left side.</param> /// <param name="spacerR">Spacer for the right side.</param> protected abstract void AddSpacersToDocker(int i, ViewLayoutMetricSpacer spacerL, ViewLayoutMetricSpacer spacerR);