private void InitializeSsoServices() { foreach (NSTableColumn column in SsoTableView.TableColumns()) { SsoTableView.RemoveColumn(column); } SsoTableView.Delegate = new TableDelegate(); var listView = new ServiceEndpointDataSource { Entries = ExternalIdentityProviderDto.SsoServices }; var columnNames = new List <ColumnOptions> { new ColumnOptions { Id = "Name", DisplayName = "Name", DisplayOrder = 1, Width = 150 }, new ColumnOptions { Id = "Endpoint", DisplayName = "Endpoint", DisplayOrder = 4, Width = 200 }, new ColumnOptions { Id = "Binding", DisplayName = "Binding", DisplayOrder = 5, Width = 200 } }; var columns = ListViewHelper.ToNSTableColumns(columnNames); foreach (var column in columns) { SsoTableView.AddColumn(column); } SsoTableView.DataSource = listView; SsoTableView.ReloadData(); }
void ReleaseDesignerOutlets() { if (TxtAlias != null) { TxtAlias.Dispose(); TxtAlias = null; } if (BtnJit != null) { BtnJit.Dispose(); BtnJit = null; } if (BtnViewCertificate != null) { BtnViewCertificate.Dispose(); BtnViewCertificate = null; } if (CertificateTableView != null) { CertificateTableView.Dispose(); CertificateTableView = null; } if (NameFormatTableView != null) { NameFormatTableView.Dispose(); NameFormatTableView = null; } if (SloTableView != null) { SloTableView.Dispose(); SloTableView = null; } if (SsoTableView != null) { SsoTableView.Dispose(); SsoTableView = null; } if (SubjectFormatTableView != null) { SubjectFormatTableView.Dispose(); SubjectFormatTableView = null; } if (TxtEntityName != null) { TxtEntityName.Dispose(); TxtEntityName = null; } }