Is there DropShadow effect on ImageBrush for Windows Phone 8.1 XAML
I need shadow effect on ImageBrush only in Xaml or in vb.net code
Dop Shadow is not avialable for Image brush . You can use Expression Blend to see if there is any workaround
Related
Controls are in the wrong location when they are anchored to bottom or right in a SplitContainer that's in a Panel or another SplitContainer at high DPI settings like 160 % with .Net Framework 4.0 or 4.5. It happens with the form's AutoScalMode set to either Font or DPI.
It works correctly if the control is anchored top-left or the SplitContainer isn't in another control, or using .Net Framework 3.5, or at 100% DPI.
How can I fix it?
At 100% DPI, it looks correct, like this:
At 160% DPI, the button is in the wrong place, like this:
In the SplitterPanel, put a TableLayoutPanel with a single cell and Dock = DockStyle.Fill. In that cell, put a Panel with Dock = DockStyle.Fill, then put the controls in that innermost Panel and the anchoring works correctly.
Another way that's not as convenient for controls that aren't anchored to bottom-right is in the SplitterPanel, put a Panel with Dock = DockStyle.Bottom (red) and inside that, put another Panel with Dock = DockStyle.Right (yellow), then put the controls in that innermost Panel.
Here it is at 100% DPI as designed:
and at 160% DPI the button is still in the correct place:
I try my first app in uwp vb.net i want to draw a few polygones.
Which control to use ?
The target is to draw a timer which each part minutes seconds are shown with seven segment.In windows form i used a picture box
Thanks
In which xaml controls you can draw
In UWP, we often use Canvas to defines an area within which you can explicitly position child objects. You could use Windows.UI.Xaml.Shapes to draw graph. It contains Line Ellipse and Rectangle etc. For more detail please refer this document.
I am trying to get hatched pattern to fill inside a rectangle in Windows Phone application. I am trying code of WPF given here
WPF code for Hatched pattern in XAML
Is there any way except to use image to fill inside of a rectangle with hatched pattern brush?
How can i add blur background with some transparency in my Windows Phone application.
I can create transparent background using opacity property or using first two alpha number of hexa color code #AFFFFFFF. But I am not able to find any way to add blur for any panel. Is there some way or work around?
Blur effect is not supported out of the box on Silverlight.
It's possible with WriteableBitmapEx
On loading your image into WriteableBitmap wb, you can get the blurred version with:
var wb2 = WriteableBitmapExtensions.Convolute(wb, WriteableBitmapExtensions.KernelGaussianBlur3x3);
Does anyone know or have any hints as to how I could animate a blur of an image from focus to blur over the course of about 1 second?
Essentially the same question as this, but on Windows 8!
Animating a gaussian blur using core animation?
You can create a blurred version of the image - e.g. using WriteableBitmapEx and then overlay the blurred version on top of the original and animate its opacity from 0 to 1.
Alternatively - you could do DirectX interop and animate a property bound to a pixel shader input that controls the blurriness, though that might be a bit more work.
Blur isn't an animation in the WinRT Animation Library for Xaml
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.media.animation.aspx#classes
What are you trying to accomplish by the blur?
Have you tried this animation?
- FadeOutThemeAnimation