예제 #1
0
        //no use
        partial void ExpandButtonClick(NSObject sender)
        {
            var expandButton = (NSButton)sender;
            var tableRowView = (NSTableRowView)expandButton.Superview;

            TocTableView.RowForView(tableRowView);
        }
예제 #2
0
        public void SelectTOCRectByTocID(int tocNodeID)
        {
            if (TOCDataManager == null)
            {
                return;
            }

            int rowIndexHighLight = TOCDataManager.IndexByTOCID(tocNodeID);

            if (rowIndexHighLight == 0)
            {
                return;
            }

            TocTableView.SelectRow(rowIndexHighLight, false);
        }
예제 #3
0
 public void ScrollCurrentLeafNodeToVisible()
 {
     TocTableView.ScrollRowToVisible(TOCDataManager.CurrentHighlight);
 }
예제 #4
0
 public void RefreshTableViewData()
 {
     RemoveLoadView();
     TocTableView.ReloadData();
 }