Created
December 5, 2017 20:58
-
-
Save rdelrosario/11c8b1f8ce21d0c24b52332c5416bebf to your computer and use it in GitHub Desktop.
ioS renderer custom page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public override void ViewDidLoad() | |
{ | |
base.ViewDidLoad(); | |
containerView = new UIView() | |
{ | |
AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth | |
}; | |
titleView = new UIView() | |
{ | |
}; | |
marginView = new UIView() | |
{ | |
}; | |
titleLabel = new UILabel() | |
{ | |
Text = Title | |
}; | |
subtitleLabel = new UILabel() | |
{ | |
Hidden = true | |
}; | |
titleView.Add(titleLabel); | |
titleView.Add(subtitleLabel); | |
marginView.Add(titleView); | |
containerView.Add(marginView); | |
Element.PropertyChanged += Element_PropertyChanged; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment