//no use partial void ExpandButtonClick(NSObject sender) { var expandButton = (NSButton)sender; var tableRowView = (NSTableRowView)expandButton.Superview; TocTableView.RowForView(tableRowView); }
public void SelectTOCRectByTocID(int tocNodeID) { if (TOCDataManager == null) { return; } int rowIndexHighLight = TOCDataManager.IndexByTOCID(tocNodeID); if (rowIndexHighLight == 0) { return; } TocTableView.SelectRow(rowIndexHighLight, false); }
public void ScrollCurrentLeafNodeToVisible() { TocTableView.ScrollRowToVisible(TOCDataManager.CurrentHighlight); }
public void RefreshTableViewData() { RemoveLoadView(); TocTableView.ReloadData(); }