예제 #1
0
파일: WPFControl.cs 프로젝트: zxscn/ReoGrid
            public void ShowContextMenuStrip(ViewTypes viewType, Graphics.Point containerLocation)
            {
                switch (viewType)
                {
                default:
                case ViewTypes.Cells:
                    this.canvas.BaseContextMenu = this.canvas.CellsContextMenu;
                    break;

                case ViewTypes.ColumnHeader:
                    this.canvas.BaseContextMenu = this.canvas.ColumnHeaderContextMenu;
                    break;

                case ViewTypes.RowHeader:
                    this.canvas.BaseContextMenu = this.canvas.RowHeaderContextMenu;
                    break;

                case ViewTypes.LeadHeader:
                    this.canvas.BaseContextMenu = this.canvas.LeadHeaderContextMenu;
                    break;
                }
            }
예제 #2
0
파일: WPFControl.cs 프로젝트: zxscn/ReoGrid
 public void ShowTooltip(Graphics.Point point, string content)
 {
     // not implemented
 }
예제 #3
0
파일: WPFControl.cs 프로젝트: zxscn/ReoGrid
 public Graphics.Point PointToScreen(Graphics.Point p)
 {
     return(this.canvas.PointToScreen(p));
 }