wpf - Transparent floating window. -


i'm trying create transparent floating dockable window. but, having difficulting achieving this. tried opacity, no luck.

here snapshot of code :

    // floating dockable split pane      splitpane splitfloating = new splitpane();      xamdockmanager.setinitiallocation(splitfloating, initialpanelocation.dockablefloating);      xamdockmanager.setfloatinglocation(splitfloating, new point(my.xcoordinate, my.ycoordinate));      xamdockmanager.setfloatingsize(splitfloating, new size(my.width, my.height));          tabgrouppane tgpfloating = new tabgrouppane();      contentpane cprichtext = new contentpane();      cprichtext.content = new richtextbox();      cprichtext.opacity = 0.0;      tgpfloating.items.add(cprichtext);      tgpfloating.opacity = 0.0;        splitfloating.panes.add(tgpfloating);      splitfloating.opacity = 0.0;        this.dockmanager.panes.add(splitfloating);      this.dockmanager.opacity = 0.0; 

i don't know infragistics suite, speaking should set background transparent (if want able click on background) or {x:null} (if want click through background).

also if it's window (derives system.windows.controls.window), you'll need set allowstransparency true well, might incur loss of performance.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -