WS_EX_CLIENTEDGE equivalent in Silverlight - silverlight

How to set a Silverlight control border to something like CSS
border:2px ThreeDFace inset;
(or WinAPI WS_EX_CLIENTEDGE)?

Related

Remove 1px border on WinForm

How do I remove the blue 1px border from around a Winforms Form window? I still want to keep the shadow.

How to make window border brush dynamic

So if a user of windows 10 sets a bunch of pictures to be shown as Desktop Background "Slideshow", the accent color is being changed to fit each picture
now all windows opened on that desktop are gonna have the same accent color as border color, but when i use WPF to Design my program's interface, the window's border will have the solid color that i picked while designing.
So is it possible to set my border brush to be dynamic just like other windows?
Thanks in advance

transparent background on tooltip control

I was able to do custom painting on the tooltip control, by disable its visual style.
I am curious that if we can make the tooltip control to be "Layered" (i.e transparent).
I tried to add WS_EX_LAYERED style on it and call
SetLayeredWindowAttributes(hwndTooltip, 0, 50, LWA_ALPHA);
But it doesn't become transparent.
I did this for the manin window and the main window become transparent.
After searching, there is no further information about how to make tooltip transparent.
So How to make tooltip control transparent background?
p.s: hwndTooltip is a child of Desktop, not of main window.
Cannot be done. Reference and explanation:
http://tech.dir.groups.yahoo.com/group/wtl/message/14214

Silverlight OOB-Application - set backgroundcolor of main window to transparent

I create a Silverlight OOB application in which I try to change the background color of the window transparent. I would like to use as wallpaper its own image. This is not square and therefore interferes with the white background color of the main window.
In the OutOfBrowserSettings I can put as the "Window Style" to "none ".
In WPF there are the two following window properties:
AllowsTransparency = "True"
Background = "Transparent"
Unfortunately, this does not seem to know about Silverlight, though! Does anyone know how I get the background color of the main window transparent?
Have you tried to set beackground to {x:Null}? Or maybe to set the alpha in color to 0 which means transparent. For example #00FFFFFF or #00000000.
This is not possible with the current version (4) of Silverlight.

Dark Background of new WPF Ribbon becomes gradient?

I am using the new Version of MS WPF Ribbon (Version MS WPF Ribbon 3.5.40729.1) with Windows 7 and I am trying to change the Background of the Ribbon. Everything looks fine if I use light background colors.
But e.g. if I choose "Black" a white gradient is shown with the black. It does not seem to be possible to remove the white and simply have a black background. And it looks ugly, especially when every Textcolor normally is white. (Tabheaders get white background and are not readable anymore)
In the samples, (I leave everything as is) if I set Background=Black directly in the ribbon's property, the effect is the same.
What do I have to set or do to get rid of the white gradient color?
There's a hard-coded gloss effect in the RibbonGroup template. It's lame, but the only way to get rid of it is to override the temlate for RibbonGroup. If you have Blend, just extract the template and rip out the offending LinearGradientBrush.

Resources