public ArtikelTableCell(): base (UITableViewCellStyle.Default, sessionCellId) { // To prevent this ugly looking white line between each cell and to just show my seperator this.SeparatorInset = UIEdgeInsets.Zero; // Create the sub controls SelectionStyle = UITableViewCellSelectionStyle.Gray; ContentView.BackgroundColor = UIColor.DarkGray; ArtikelBez1Label = new UILabel ( ) { Font = UIFont.FromName("Arial", 20f), TextColor = UIColor.White , BackgroundColor = UIColor.Clear }; ArtikelBez2_6Label = new UILabel() { Font = UIFont.FromName("Arial", 12f), TextColor = UIColor.White, BackgroundColor = UIColor.Clear }; ArtikelNummerLabel = new UILabel() { Font = UIFont.FromName("Arial", 12f), TextColor = UIColor.White, BackgroundColor = UIColor.Clear }; ContentView.AddSubviews(new UIView[] { ArtikelBez1Label, ArtikelBez2_6Label, ArtikelNummerLabel}); }
public ImageRightTableCell(): base (UITableViewCellStyle.Default, sessionCellId) { // To prevent this ugly looking white line between each cell and to just show my seperator this.SeparatorInset = UIEdgeInsets.Zero; // Create the sub controls SelectionStyle = UITableViewCellSelectionStyle.Gray; ContentView.BackgroundColor = UIColor.White; LockIconView = new UIImageView(); TextLabel = new UILabel ( ) { Font = UIFont.FromName("Arial", 14f), TextColor = UIColor.Black , BackgroundColor = UIColor.Clear }; DetailTextLabel = new UILabel () { Font = UIFont.FromName("Arial", 12f), TextColor = UIColor.Black , BackgroundColor = UIColor.Clear }; DetailTextLabel.LineBreakMode = UILineBreakMode.WordWrap; DetailTextLabel.Lines = 0; ContentView.AddSubviews(new UIView[] {LockIconView, TextLabel, DetailTextLabel}); }
void ReleaseDesignerOutlets () { if (ArtikelNummerLabel != null) { ArtikelNummerLabel.Dispose (); ArtikelNummerLabel = null; } if (MainImageView != null) { MainImageView.Dispose (); MainImageView = null; } if (PersonNameLabel != null) { PersonNameLabel.Dispose (); PersonNameLabel = null; } if (PersonNummerLabel != null) { PersonNummerLabel.Dispose (); PersonNummerLabel = null; } }
void ReleaseDesignerOutlets () { if (ButtonContainerView != null) { ButtonContainerView.Dispose (); ButtonContainerView = null; } if (ContainerView != null) { ContainerView.Dispose (); ContainerView = null; } if (IvNetwork != null) { IvNetwork.Dispose (); IvNetwork = null; } if (LblEmail != null) { LblEmail.Dispose (); LblEmail = null; } if (LblName != null) { LblName.Dispose (); LblName = null; } if (LblTelefon != null) { LblTelefon.Dispose (); LblTelefon = null; } if (LblUmsatz != null) { LblUmsatz.Dispose (); LblUmsatz = null; } if (MainSegmentedButtons != null) { MainSegmentedButtons.Dispose (); MainSegmentedButtons = null; } if (TxtMainEmail != null) { TxtMainEmail.Dispose (); TxtMainEmail = null; } if (TxtMainName != null) { TxtMainName.Dispose (); TxtMainName = null; } if (TxtMainTelefon != null) { TxtMainTelefon.Dispose (); TxtMainTelefon = null; } if (TxtMainUmsatz != null) { TxtMainUmsatz.Dispose (); TxtMainUmsatz = null; } }
void ReleaseDesignerOutlets () { if (ButtonContainerView != null) { ButtonContainerView.Dispose (); ButtonContainerView = null; } if (ContainerView != null) { ContainerView.Dispose (); ContainerView = null; } if (IvNetwork != null) { IvNetwork.Dispose (); IvNetwork = null; } if (LblBezeichnung != null) { LblBezeichnung.Dispose (); LblBezeichnung = null; } if (LblEAN != null) { LblEAN.Dispose (); LblEAN = null; } if (LblNummer != null) { LblNummer.Dispose (); LblNummer = null; } if (LblWarengruppe != null) { LblWarengruppe.Dispose (); LblWarengruppe = null; } if (MainSegmentedButtons != null) { MainSegmentedButtons.Dispose (); MainSegmentedButtons = null; } if (TxtMainBezeichnung != null) { TxtMainBezeichnung.Dispose (); TxtMainBezeichnung = null; } if (TxtMainEAN != null) { TxtMainEAN.Dispose (); TxtMainEAN = null; } if (TxtMainNummer != null) { TxtMainNummer.Dispose (); TxtMainNummer = null; } if (TxtMainWarengruppe != null) { TxtMainWarengruppe.Dispose (); TxtMainWarengruppe = null; } }
void ReleaseDesignerOutlets () { if (BtnDelete != null) { BtnDelete.Dispose (); BtnDelete = null; } if (BtnNew != null) { BtnNew.Dispose (); BtnNew = null; } if (BtnSaveKpf != null) { BtnSaveKpf.Dispose (); BtnSaveKpf = null; } if (cancel != null) { cancel.Dispose (); cancel = null; } if (CellKunde != null) { CellKunde.Dispose (); CellKunde = null; } if (CellLieferAnschrift != null) { CellLieferAnschrift.Dispose (); CellLieferAnschrift = null; } if (CellRechnungsAnschrift != null) { CellRechnungsAnschrift.Dispose (); CellRechnungsAnschrift = null; } if (LblDatum != null) { LblDatum.Dispose (); LblDatum = null; } if (LblDeleteDescription != null) { LblDeleteDescription.Dispose (); LblDeleteDescription = null; } if (LblKunde != null) { LblKunde.Dispose (); LblKunde = null; } if (LblLieferAnschrift != null) { LblLieferAnschrift.Dispose (); LblLieferAnschrift = null; } if (LblProjekt != null) { LblProjekt.Dispose (); LblProjekt = null; } if (LblRechnungsAnschrift != null) { LblRechnungsAnschrift.Dispose (); LblRechnungsAnschrift = null; } if (LblWert != null) { LblWert.Dispose (); LblWert = null; } if (LblWertWaehrung != null) { LblWertWaehrung.Dispose (); LblWertWaehrung = null; } if (toolbar != null) { toolbar.Dispose (); toolbar = null; } if (tvPositions != null) { tvPositions.Dispose (); tvPositions = null; } if (TxtDatum != null) { TxtDatum.Dispose (); TxtDatum = null; } if (TxtDummy != null) { TxtDummy.Dispose (); TxtDummy = null; } if (TxtKunde != null) { TxtKunde.Dispose (); TxtKunde = null; } if (TxtLieferAnschrift != null) { TxtLieferAnschrift.Dispose (); TxtLieferAnschrift = null; } if (TxtProjekt != null) { TxtProjekt.Dispose (); TxtProjekt = null; } if (TxtRechnungsAnschrift != null) { TxtRechnungsAnschrift.Dispose (); TxtRechnungsAnschrift = null; } if (TxtWert != null) { TxtWert.Dispose (); TxtWert = null; } }