public void UpdateControls(PublicPropertyChange change) { change.SetRowVisible(nameof(RoundSegments), () => Round != RoundTypes.None); }
public void UpdateControls(PublicPropertyChange change) { change.Context.GetEditRow(nameof(StartingAngle)).Visible = Advanced; change.Context.GetEditRow(nameof(EndingAngle)).Visible = Advanced; InnerDiameter = Math.Min(OuterDiameter - .1, InnerDiameter); }
public void UpdateControls(PublicPropertyChange change) { //var editRow = context.GetEditRow((this.ID, nameof(InfillAmount))); //if (editRow != null) editRow.Visible = CurrentBaseType == BaseTypes.Outline; }
public void UpdateControls(PublicPropertyChange change) { }
public void UpdateControls(PublicPropertyChange change) { //change.SetRowVisible(nameof(InfillAmount), () => CurrentBaseType == BaseTypes.Outline); }
public void UpdateControls(PublicPropertyChange change) { change.SetRowVisible(nameof(StartingAngle), () => Advanced); change.SetRowVisible(nameof(EndingAngle), () => Advanced); change.SetRowVisible(nameof(LatitudeSides), () => Advanced); }
public void UpdateControls(PublicPropertyChange change) { change.SetRowVisible(nameof(Diameter), () => BendType == BendTypes.Diameter); change.SetRowVisible(nameof(Angle), () => BendType == BendTypes.Angle); change.SetRowVisible(nameof(MinSidesPerRotation), () => SplitMesh); }
public void UpdateControls(PublicPropertyChange change) { change.Context.GetEditRow(nameof(StartingAngle)).Visible = Advanced; change.Context.GetEditRow(nameof(EndingAngle)).Visible = Advanced; change.Context.GetEditRow(nameof(LatitudeSides)).Visible = Advanced; }
public void UpdateControls(PublicPropertyChange change) { change.SetRowVisible(nameof(StartingAngle), () => Advanced); change.SetRowVisible(nameof(EndingAngle), () => Advanced); change.SetRowVisible(nameof(EasyModeMessage), () => !Advanced); }