Esempio n. 1
0
        /// <summary>
        /// Add a group using the native in-place modifier.
        /// </summary>
        /// <param name="groupIndexInView">The index of the group from the native collection view's perspective, ie ignoring empty groups
        /// if HidesIfEmpty=true.</param>
        private void AddGroup(int groupIndexInView)
        {
            NativePanel?.InsertSections(NSIndexSet.FromIndex(groupIndexInView));

            if (ManagedVirtualizingPanel != null)
            {
                Refresh();
            }
        }
Esempio n. 2
0
 /// <summary>
 /// Add a group using the native in-place modifier.
 /// </summary>
 /// <param name="groupIndexInView">The index of the group from the native collection view's perspective, ie ignoring empty groups
 /// if HidesIfEmpty=true.</param>
 private void AddGroup(int groupIndexInView)
 {
     NativePanel?.InsertSections(NSIndexSet.FromIndex(groupIndexInView));
 }