public ContactView() { BindingContext = new ContactViewModel(); InitializeComponent(); AnimationUtilities.InitializeAppear(_twitterWhiteLogo, _twitterText, _linkedinWhiteLogo, _linkedinText, _emailLogo, _emailText, _githubLogo, _githubText); }
public HighlightsView() { BindingContext = new HighlightsViewModel(); InitializeComponent(); _scrollView.SetBinding(View.MarginProperty, new Binding("Height", source: _nameStack, converter: new ThicknessConverter(), converterParameter: 1, mode: BindingMode.OneWay)); _highlightsStack.SetBinding(View.MarginProperty, new Binding("Height", source: _backgroundImage, converter: new ThicknessConverter(), converterParameter: 1, mode: BindingMode.OneWay)); _nameStack.SetBinding(HeightRequestProperty, new Binding("Height", source: _resumeViewFAB)); AnimationUtilities.InitializeAppear(_title1, _body1, _title2, _body2); }
public BioView() { BindingContext = new BioViewModel(); InitializeComponent(); AnimationUtilities.InitializeAppear(_nameLabel, _bodyLabel, _hireButton); AnimationUtilities.IniitializeRollIn(_bryanImage); _scrollView.SetBinding(View.MarginProperty, new Binding("Height", source: _nameStack, converter: new ThicknessConverter(), converterParameter: 1, mode: BindingMode.OneWay)); _descriptionStack.SetBinding(View.MarginProperty, new Binding("Height", source: _backgroundImage, converter: new ThicknessConverter(), converterParameter: 1, mode: BindingMode.OneWay)); _nameStack.SetBinding(HeightRequestProperty, new Binding("Height", source: _codeViewFAB)); }