protected virtual void PrepareMembersContent <MT> (ICollection <MT> members, InteractiveItemsStack content) where MT : IMember
        {
            if (members == null)
            {
                return;
            }
            if (members.Count == 0)
            {
                return;
            }

            IAmbience ambience = GetAmbience();

            #region Prepare Group Members
            List <MemberData> membersData = new List <MemberData>();
            foreach (MT member in members)
            {
                membersData.Add(new MemberData(member, ambience, Graphics, MemberFont));
            }
            membersData.Sort();
            #endregion

            #region Add Members To Group
            foreach (MemberData memberData in membersData)
            {
                content.Add(memberData.Item);
            }
            #endregion
        }
        private InteractiveItemsStack PrepareNestedTypesContent()
        {
            InteractiveItemsStack innerItems = new InteractiveItemsStack();

            innerItems.OrientationAxis = Axis.Y;
            innerItems.Spacing         = 10;
            innerItems.Padding         = 10;
            foreach (IClass ct in classtype.InnerClasses)
            {
                ClassCanvasItem innerItem = ClassCanvas.CreateItemFromType(ct);
                innerItems.Add(innerItem);
                innerItem.LayoutChanged += HandleRedraw;
            }
            return(innerItems);
        }