public PaymentFormStep4Page() { InitializeComponent(); DataContext = TLContainer.Current.Resolve <PaymentFormStep4ViewModel>(); Transitions = ApiInfo.CreateSlideTransition(); }
public SettingsPasswordCreatePage() { InitializeComponent(); DataContext = TLContainer.Current.Resolve <SettingsPasswordCreateViewModel>(); Transitions = ApiInfo.CreateSlideTransition(); }
public WalletTestPage() { InitializeComponent(); DataContext = TLContainer.Current.Resolve <WalletTestViewModel>(); Transitions = ApiInfo.CreateSlideTransition(); }
public SignInRecoveryPage() { InitializeComponent(); DataContext = TLContainer.Current.Resolve <SignInRecoveryViewModel>(); Transitions = ApiInfo.CreateSlideTransition(); }
public ChatInviteLinkPage() { InitializeComponent(); DataContext = TLContainer.Current.Resolve <ChatInviteLinkViewModel>(); Transitions = ApiInfo.CreateSlideTransition(); }
public WalletExportPage() { InitializeComponent(); DataContext = TLContainer.Current.Resolve <WalletExportViewModel, IWalletExportDelegate>(this); Transitions = ApiInfo.CreateSlideTransition(); }
public ChannelCreateStep3Page() { InitializeComponent(); DataContext = TLContainer.Current.Resolve <ChannelCreateStep3ViewModel>(); View.Attach(); Transitions = ApiInfo.CreateSlideTransition(); }
public BasicGroupCreateStep2Page() { InitializeComponent(); DataContext = TLContainer.Current.Resolve <BasicGroupCreateStep2ViewModel>(); View.Attach(); Transitions = ApiInfo.CreateSlideTransition(); }
public PaymentFormStep3Page() { InitializeComponent(); DataContext = TLContainer.Current.Resolve <PaymentFormStep3ViewModel>(); Transitions = ApiInfo.CreateSlideTransition(); ViewModel.PropertyChanged += OnPropertyChanged; }
public SignInSentCodePage() { InitializeComponent(); DataContext = TLContainer.Current.Resolve <SignInSentCodeViewModel>(); Transitions = ApiInfo.CreateSlideTransition(); ViewModel.PropertyChanged += OnPropertyChanged; }
public ChatEventLogPage() { InitializeComponent(); Transitions = ApiInfo.CreateSlideTransition(); Content = new ChatView(deleg => (DataContext = TLContainer.Current.Resolve <DialogEventLogViewModel, IDialogDelegate>(deleg)) as DialogEventLogViewModel); Header = View.Header; NavigationCacheMode = NavigationCacheMode.Required; }
public SignInPage() { InitializeComponent(); DataContext = TLContainer.Current.Resolve <SignInViewModel>(); Transitions = ApiInfo.CreateSlideTransition(); Diagnostics.Text = $"Unigram " + GetVersion(); ViewModel.PropertyChanged += OnPropertyChanged; }
public SignInPage() { InitializeComponent(); DataContext = TLContainer.Current.Resolve <SignInViewModel, ISignInDelegate>(this); Transitions = ApiInfo.CreateSlideTransition(); Diagnostics.Text = $"Unigram " + GetVersion(); var token = ElementCompositionPreview.GetElementVisual(Token); token.Opacity = 0; }
public ChannelCreateStep2Page() { InitializeComponent(); DataContext = TLContainer.Current.Resolve <ChannelCreateStep2ViewModel>(); Transitions = ApiInfo.CreateSlideTransition(); var observable = Observable.FromEventPattern <TextChangedEventArgs>(Username, "TextChanged"); var throttled = observable.Throttle(TimeSpan.FromMilliseconds(Constants.TypingTimeout)).ObserveOnDispatcher().Subscribe(x => { if (ViewModel.UpdateIsValid(Username.Value)) { ViewModel.CheckAvailability(Username.Value); } }); }