示例#1
0
 protected virtual void CreateView()
 {
     hierarchy       = new ViewHierarchy(this, ViewHierarchyBuilder.Instance);
     BackgroundColor = UIColor.White;
 }
示例#2
0
 protected virtual void CreateView()
 {
     Builder          = new ViewHierarchyBuilder(Context);
     hierarchy        = new ViewHierarchy(this, Builder);
     LayoutParameters = new LayoutParams(LayoutParams.WrapContent, LayoutParams.WrapContent);
 }