-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSamplePrintEventArgs.vb
53 lines (48 loc) · 1.24 KB
/
SamplePrintEventArgs.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Imports DevExpress.XtraGrid.Columns
Imports DevExpress.XtraPrinting
Namespace GridBeforePrint
Public Class SamplePrintEventArgs
Private privateIsPreview As Boolean
Public Property IsPreview() As Boolean
Get
Return privateIsPreview
End Get
Private Set(ByVal value As Boolean)
privateIsPreview = value
End Set
End Property
Private privateBrick As IVisualBrick
Public Property Brick() As IVisualBrick
Get
Return privateBrick
End Get
Private Set(ByVal value As IVisualBrick)
privateBrick = value
End Set
End Property
Private privateColumn As GridColumn
Public Property Column() As GridColumn
Get
Return privateColumn
End Get
Private Set(ByVal value As GridColumn)
privateColumn = value
End Set
End Property
Private privateRowHandle As Integer
Public Property RowHandle() As Integer
Get
Return privateRowHandle
End Get
Private Set(ByVal value As Integer)
privateRowHandle = value
End Set
End Property
Public Sub New(ByVal rowHandle As Integer, ByVal column As GridColumn, ByVal brick As IVisualBrick, ByVal isPreview As Boolean)
Me.RowHandle = rowHandle
Me.Column = column
Me.Brick = brick
Me.IsPreview = isPreview
End Sub
End Class
End Namespace