Back to Devexpress

RepositoryItemAnyControl.GetBrick(PrintCellHelperInfo) Method

windowsforms-devexpress-dot-xtraeditors-dot-customeditor-dot-repositoryitemanycontrol-dot-getbrick-x28-devexpress-dot-xtraeditors-dot-printcellhelperinfo-x29.md

latest2.2 KB
Original Source

RepositoryItemAnyControl.GetBrick(PrintCellHelperInfo) Method

Returns a brick object that contains information on how the current editor should be printed.

Namespace : DevExpress.XtraEditors.CustomEditor

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public override VisualBrick GetBrick(
    PrintCellHelperInfo info
)
vb
Public Overrides Function GetBrick(
    info As PrintCellHelperInfo
) As VisualBrick

Parameters

NameTypeDescription
infoDevExpress.XtraEditors.PrintCellHelperInfo

A DevExpress.XtraEditors.PrintCellHelperInfo object that provides information on the editor’s state and appearance settings that will be used when the editor is printed.

|

Returns

TypeDescription
VisualBrick

An object that contains information on how to print the editor.

|

Remarks

This method is automatically invoked by the printing mechanism when a container control (GridControl, TreeList, etc.) that uses the current repository item is printed using the Printing System Library. Generally, there is no need to call this method directly from your code.

You may need to override the GetBrick method if you create a custom editor and want it to be printed in a specific manner.

See Also

RepositoryItemAnyControl Class

RepositoryItemAnyControl Members

DevExpress.XtraEditors.CustomEditor Namespace