GetPageBody() 공개 메소드

public GetPageBody ( DomElement hostNode ) : DomElement
hostNode LayoutFarm.WebDom.DomElement
리턴 LayoutFarm.WebDom.DomElement
예제 #1
0
        public void AddItem(TabPage tabPage)
        {
            //1. store in collection

            tabPageCollection.Add(tabPage);
            tabPage.OwnerContainer = this;
            if (pnode != null)
            {
                if (currentPage == null)
                {
                    currentPage = tabPage;
                    //add tab button into list
                    this.tabTitleList.AddChild(tabPage.GetTitleNode(pnode));
                    //add page body
                    contentNode.AddChild(tabPage.GetPageBody(pnode));
                }
                else
                {
                    //add tab button into list
                    this.tabTitleList.AddChild(tabPage.GetTitleNode(pnode));
                }
            }
        }
예제 #2
0
 //------------------------
 internal void ChildNotifyTabMouseDown(TabPage childPage)
 {
     //change content ***
     contentNode.ClearAllElements();
     contentNode.AddChild(childPage.GetPageBody(contentNode));
 }
예제 #3
0
 //------------------------
 internal void ChildNotifyTabMouseDown(TabPage childPage)
 {
     //change content ***
     contentNode.ClearAllElements();
     contentNode.AddChild(childPage.GetPageBody(contentNode));
 }
예제 #4
0
        public void AddItem(TabPage tabPage)
        {
            //1. store in collection

            tabPageCollection.Add(tabPage);
            tabPage.OwnerContainer = this;
            if (pnode != null)
            {
                if (currentPage == null)
                {
                    currentPage = tabPage;
                    //add tab button into list
                    this.tabTitleList.AddChild(tabPage.GetTitleNode(pnode));
                    //add page body
                    contentNode.AddChild(tabPage.GetPageBody(pnode));
                }
                else
                {
                    //add tab button into list
                    this.tabTitleList.AddChild(tabPage.GetTitleNode(pnode));
                }
            }
        }