예제 #1
0
        // Static "Constructor" to internalize loading from xib
        public static MessageHeader View(RectangleF frame)
        {
            MessageHeader view = new MessageHeader(frame);
            var views = NSBundle.MainBundle.LoadNib("MessageHeader", view, null);
            view = Runtime.GetNSObject(views.ValueAt(0)) as MessageHeader;

            view.Initialize ();

            return view;
        }
예제 #2
0
        private void Initialize()
        {
            SelectionStyle = UITableViewCellSelectionStyle.None;

            _header = MessageHeader.View (Header.Frame);
            SetHeader (_header);
        }