[]
Gets or sets the custom action after the current record is rendered.
[Browsable(false)]
public LayoutAction LayoutAction { get; set; }
Type | Description |
---|---|
LayoutAction |
or
|
Right now only NextRecord can be changed to duplicate rows like in the sample.
int counter=0;
private void Detail_Format(object sender, System.EventArgs eArgs)
{ //repeat each row two times
counter = counter + 1;
if (counter <= 2)
{
this.LayoutAction = GrapeCity.ActiveReports.LayoutAction.MoveLayout | GrapeCity.ActiveReports.LayoutAction.PrintSection;
}
else
{
this.LayoutAction = GrapeCity.ActiveReports.LayoutAction.MoveLayout | GrapeCity.ActiveReports.LayoutAction.NextRecord | GrapeCity.ActiveReports.LayoutAction.PrintSection;
counter = 0;
}
}