Hi,
How can expand all Items added into NSOutlineView. By default Item is in collapse state but I want to set expand state.
You can create function
public void ExpandTable(NSOutlineView tbl) { for (int i = 0; i < tbl.RowCount; i++) { var rowItem = (MyClass)tbl.ItemAtRow(i); if (rowItem.HaveChildren) tbl.ExpandItem(rowItem); } }
Answers
In your own DataSource you need to override method
and return true for every item.
I have this function in My DataSource class but it expand when i click on item in outline view. But i want all item in expanded state automatically(without any click), when they are being add first time adding in outline view.
You can create function
Hi,
I have created a function which is performing(executing) very heavy task. In this I am using read and write operation. When ever this function executes that time User Interface seems hanging. That time a coloured moving circle being display and seems process has been stuck. What should me to do to overcome this problem.
The standard answer is to move all heavy work off of the UI thread. I would start with this iOS documentation (https://docs.microsoft.com/en-us/xamarin/ios/user-interface/ios-ui/ui-thread), as the general concept is the same.