public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            // Initalize Property Chooser
            this.PropertyChooser.RemoveAll();
            this.PropertyChooser.Add((NSString)"Choose Property");
            List <string> addresses = clsProperty.AddressList();

            foreach (string s in addresses)
            {
                this.PropertyChooser.Add((NSString)s);
            }
            this.PropertyChooser.SelectItem(0);

            // Initialize Filters
            this.SenderFilter.RemoveAll();
            this.ReceiverFilter.RemoveAll();
            this.SenderFilter.Add((NSString)"All Senders");
            this.ReceiverFilter.Add((NSString)"All Receivers");
            for (int i = 0; i < this.tblEntities.Length(); i++)
            {
                this.SenderFilter.Add((NSString)tblEntities.Value(i, clsEntity.NameColumn));
                this.ReceiverFilter.Add((NSString)tblEntities.Value(i, clsEntity.NameColumn));
            }
            this.SenderFilter.SelectItem(0);
            this.ReceiverFilter.SelectItem(0);

            this.StatusFilter.RemoveAll();
            this.StatusFilter.Add((NSString)"All Status");
            for (int i = 0; i < Enum.GetValues(typeof(clsDocumentRecord.Status)).Length; i++)
            {
                this.StatusFilter.Add((NSString)((clsDocumentRecord.Status)i).ToString());
            }
            this.StatusFilter.SelectItem(0);

            this.TypeFilter.RemoveAll();
            this.TypeFilter.Add((NSString)"All Types");
            for (int i = 0; i < Enum.GetValues(typeof(clsDocument.Type)).Length; i++)
            {
                this.TypeFilter.Add((NSString)((clsDocument.Type)i).ToString());
            }
            this.TypeFilter.SelectItem(0);

            // Initialize Data Source
            this.dataSource                 = new DocumentRecordTableDataSource();
            this.dataSourceDelegate         = new DocumentRecordTableDataSourceDelegate(this.dataSource);
            this.DocRecTableView.DataSource = this.dataSource;
            this.DocRecTableView.Delegate   = this.dataSourceDelegate;
            for (int i = 0; i < tblEntities.Length(); i++)
            {
                this.dataSource.entityNames.Add(tblEntities.Value(i, clsEntity.NameColumn));
            }
            for (int i = 0; i < tblDocuments.Length(); i++)
            {
                this.dataSource.documentNames.Add(((clsDocument.Type)(Int32.Parse(tblDocuments.Value(i, clsDocument.TypeColumn)))).ToString());
            }
        }
 public DocumentRecordTableDataSourceDelegate(DocumentRecordTableDataSource source)
 {
     this.dataSource = source;
 }