PrintingSystem.Links Property
In This Article
Gets the collection of links, defined for the current PrintingSystem object.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.XtraPrinting.v24.2.dll
NuGet Package: DevExpress.Win.Printing
#Declaration
public LinkCollection Links { get; }
#Property Value
Type | Description |
---|---|
Link |
The link collection of the current Printing |
#Example
This example demonstrates how to create and display a Print Preview for the DataGrid control, via the DataGridLink.
using System;
using System.Windows.Forms;
using DevExpress.XtraPrintingLinks;
// ...
private void simpleButton1_Click(object sender, EventArgs e) {
DataGridLink dgLink = new DataGridLink();
dgLink.DataGrid = dataGrid1;
printingSystem1.Links.Add(dgLink);
dgLink.ShowPreviewDialog();
}
See Also