コード例 #1
0
ファイル: GridViewHandler.cs プロジェクト: yaram/Eto
 public EtoTableView(GridViewHandler handler)
 {
     FocusRingType = NSFocusRingType.None;
     DataSource    = new EtoTableViewDataSource {
         Handler = handler
     };
     Delegate = new EtoTableDelegate {
         Handler = handler
     };
     ColumnAutoresizingStyle = NSTableViewColumnAutoresizingStyle.None;
 }
コード例 #2
0
 public EtoTableView(GridViewHandler handler)
 {
     FocusRingType = NSFocusRingType.None;
     DataSource    = new EtoTableViewDataSource {
         Handler = handler
     };
     Delegate = new EtoTableDelegate {
         Handler = handler
     };
     ColumnAutoresizingStyle = NSTableViewColumnAutoresizingStyle.None;
     SetDraggingSourceOperationMask(NSDragOperation.All, true);
     SetDraggingSourceOperationMask(NSDragOperation.All, false);
 }