Prevent WPF form from jumping up when onscreen-keyboard opens - wpf

Please how can we prevent a full screen WPF form from scrolling up when the onscreen keyboard appears?
See the white space below the blue background that appears once the onscreen keyboard opens (slides out)

Related

Prevent other applications moving behind AppBar -WPF

I've developed a WPF application as an AppBar using vb.net, it's docked to the bottom edge of the screen and remains topmost as expected.
Other applications such as notepad when maximized/opened only expand to the top edge of the AppBar(expected). However when another application such as notepad is resized it can be dragged down behind the AppBar.
How do I prevent Other applications from moving behind the AppBar/prevent them moving into that section of screen that the AppBar occupies when they are not maximized?
Images 1 : the reserved space for the app bar and the VS window maximising to the edge of this reserved space, no further.
Image 2 : What I want to prevent, A resized window such as the chrome window being able to move into the reserved space for the AppBar.

Windows Phone button style for desktop WPF

I'm trying to achieve the same button style of the WP even with the little conditional tilt when pressed. It is possible to do that with WPF?
Here is what I have, doing a Ctrl+C Ctrl+V of the button style directly from the xaml SDK's. Using the White theme.
There is no tilt when pressed and the text is a not center aligned.
EDIT: Changed "flip" to "tilt".

Why the graphs (dots) were all cleared after minimizing to toolbar and maximizing the console window, but text was still on it?

I drew graphs (dots) by calling SetPixel Function.
Here are the problems:
Why the graphs (dots) were all cleared after minimizing to toolbar and then maximizing the console window, but text was still on it?
How to prevent the graphs drawn on the console window from erasing unexpectedly?
Any suggestions/feedback would be appreciated.
If the Window does not know about the dots, eg. they are not redrawable by a Window that handles their repainting, they cannot be repainted. The console window holds the text and can repaint it, it does not know about your pixels.
Don't draw graphs on a console window. Draw them on a GUI component canvas.

WPF Input Method Editor

I'm trying to enable the IME in WPF... which works for some textboxes but not the one I actually need it for. I do the following in XAML
InputMethod.IsInputMethodEnabled="True" InputMethod.PreferredImeConversionMode="Native" InputMethod.PreferredImeState="On"
I have a custom on-screen keyboard, the textbox has focus, and keys can be pushed on the screen and send the appropriate letter to the textbox. But when setting this above xaml to the textbox in this custom keyboard, the candidate window doesn't display at all, instead a strange small black control appears on the top left of the screen with a text box and a green arrow which has a caption of "Enter". Any text pressed on the keyboard goes to that small black control without showing the text, but after pressing enter, that text appears in my keyboard.
Ultimately I'm trying to incorporate simplified Chinese. Again, this works perfect on every other textbox but the one I actually need it for, being the custom onscreen keyboard.
Any thoughts? I'm really stuck with this.
Cheers.
UPDATE
This is the image I see, don't scroll down, it's the black little control with the green arrow.
http://babelstone.blogspot.ca/2010/05/prototyping-tangut-imes-or-why-windows.html
So I've been looking for a different design of the IME, Notepad seems to show something different. But I eventually got the little black box control to work and display what I'm actually typing. Moved xaml to code behind and it started working.

childWindow Full Screen Event tweak the Parent to also FullSCreen Mode

I have a ChildWindow which contains a ExpressionMediaPlayer inside it. When I click on the ChildWindow Media Player Full screen button it swiches the whole application to FullScreen Mode.
Is there a way to avoid it. I am not quite sure if this scenario is going to fall under SL security restrictions.
When I drag the ChildWindow(the position of ChildWindow changes) and click on the fullscreen
now the ChildWindow also changes it's position.
For example if I have dragged the ChildWindow 50px from Top and pressed the Full Screen button of of mediaPlayer (it contains) the Child Window also appears 50 pixels below the Screen Top.
But I want My ChildWindow to be FullScreen without having any Gap from LEFT,TOP,RIGHT or below.
Any help will be greatly appreciated.
Thanks,
Subhen
Silverlight only uses one of its two windows. The first is the normal window embedded in the Host application such as IE (or in windowless mode it co-operates with the host to draw directly on one of the host's windows in a give rectangle). The other window is a Fullscreen one.
When in full screen mode it moves all its rendering of its stack of content to the full screen window. You can't get Silverlight to render only some controls on the Fullscreen window, its an all or nothing proposition.
Creating a "fullscreenable" ChildWindow would be an interesting exercise. Probably a new templated control based on Childwindow with a new "Fullscreen" visual state (in a new state group) that hides the chrome and causes the content grid to stretch with Auto Width and Height.

Resources