public ElePropGrid PushPropGrid(int fontSize, float proportion, LFlag flags) { EleBaseSizer szr = this.head.GetSizer(); if (szr == null) { return(null); } ElePropGrid epg = this.uiFactory.CreatePropertyGrid(this.head.rect, fontSize); szr.Add(epg, proportion, flags); this.stack.Push(this.head); this.head = new Entry(this.head.rect, epg); return(epg); }
public ElePropGrid CreatePropertyGrid(EleBaseRect parent, int fontSize) { ElePropGrid epg = new ElePropGrid(parent, this.textTextAttrib, fontSize); return(epg); }