wpf - Absolute transparent web browser control, is it possible? -
i'm creating desktop winforms or wpf app, i'm using html/js/css create ui. simpliest solution using web browser control in host window.
i want absolute transparent web browser control now. example, have div 50% transparency, should see windows desktop icons through div (the host form , web browser control should transparent).
is possible?
here several possibilities
- if not care size of browser window, can set
width
,height
0
. - if want have specified browser window size, can set
left
equals-width
,top
equals-height
. - set
parent
of browser controlnull
, browser control become invisible well.
i prefer second solution.
Comments
Post a Comment