

Users can also make calls and send SMS messages to their Facebook friends, providing a fixed number to their Facebook profile. However, in addition to the Skype feature, there is a new feature that allows users to connect their Facebook account with their own Skype.
#Skype sign in with facebook code
Also, this code perform managing of a new free screen height when keyboard is on the screen.Skype is a chat program that everyone knows and one of the unique features is "Group Video Calling", which allows you to make video calls to two or more people. Private void MessageText_LostFocus(object sender, e)įirst of all this code disables transformation of a Frame (moving up) when TextBox gets focused.

InputScrollViewer.ScrollToVerticalOffset(InputScrollViewer.VerticalOffset + 338 + GetClipboardHeight()) Return (Clipboard.ContainsText()) ? KeyboardClipboardHeight : 0 InputScrollViewer.Height = RootHeight - (KeyboardHeight + GetClipboardHeight()) Void DeviceStatus_KeyboardDeployedChanged(object sender, EventArgs e) Maybe it's not a best solution, but it's work:Ĭode-behind: public partial class MainPage : PhoneApplicationPageĭeviceStatus.KeyboardDeployedChanged += new EventHandler(DeviceStatus_KeyboardDeployedChanged) The Tap event handlers detects the vertical position of the tap, and scrolls the ScrollViewer so the caret is in view when the TextBox gets focus. InputScrollViewer.ScrollToVerticalOffset(e.GetPosition(MessageText).Y - 80) Public void MessageText_Tap(object sender, GestureEventArgs e)

InputScrollViewer.ScrollToVerticalOffset(InputScrollViewer.VerticalOffset + CurrentInputHeight - InputHeight) Private void inputText_TextChanged(object sender, e)ĭouble CurrentInputHeight = MessageText.ActualHeight (App.Current as App).RootFrame.RenderTransform = new CompositeTransform() Private void MessageText_GotFocus(object sender, e) Now, the TextBox has regular behavior, but is scrollable, and the RootFrame doesn't go up automatically.Ĭ#: public partial class MainPage : PhoneApplicationPage Thanks in advance.īased on the answer given by Ku6opr, I tweaked the code so it works under my circumstances. I wonder if this is a custom control, or if the layout was designed in a specific way, because a TextBox inside a ScrollViewer simply doesn't work. The same effect is seen in the Skype and Facebook apps where, while writing a message, you can scroll it to see more of it. What I'm trying to achieve is something like Word/OneNote on the phone, where the user can easily scroll while editing the document ( here's a video demonstrating it). I thought the only way to do this would be to hold down until the oversized caret appears, then moving it around, but I discovered that, in fact, third party apps support this type of scrolling. My problem is, I want the user to be able to scroll while editing the note, just as he's able to scroll while reading the note. I put the TextBox in a ScrollViewer, and everything is fine I disable the ScrollViewer when the TextBox gets focus, so it scrolls automatically while the user is typing. Basically, I'm developing a note-taking app where the user can type as long as he wants (kinda like Scrollable TextBox in WP7).
