-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCustomDrawLineEventArgs.cs
50 lines (42 loc) · 1.37 KB
/
CustomDrawLineEventArgs.cs
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
using System;
using System.Windows.Forms;
using DevExpress.XtraGrid.Views.Grid;
using DevExpress.XtraGrid.Views.Grid.Drawing;
using DevExpress.XtraGrid.Views.Grid.ViewInfo;
using DevExpress.XtraGrid.Views.Base;
using DevExpress.XtraGrid.Views.Base.ViewInfo;
using System.Drawing;
using DevExpress.Utils;
using DevExpress.Utils.Drawing;
namespace DXSample {
public class CustomDrawLineEventArgs {
GraphicsCache cache;
bool handled;
Rectangle bounds;
GridCellInfo cellInfo;
AppearanceObject appearance;
public CustomDrawLineEventArgs(GraphicsCache cache, AppearanceObject appearance, Rectangle bounds, GridCellInfo cellInfo) {
this.cache = cache;
this.bounds = bounds;
this.cellInfo = cellInfo;
this.appearance = appearance;
}
public GraphicsCache Cache {
get { return cache; }
}
public AppearanceObject Appearance {
get { return appearance; }
}
public bool Handled {
get { return handled; }
set { handled = value; }
}
public Rectangle Bounds {
get { return bounds; }
}
public GridCellInfo CellInfo {
get { return cellInfo; }
}
}
public delegate void CustomDrawLineEventHandler(object sender, CustomDrawLineEventArgs e);
}