c# - Overlap ListBox Items -


i have 2 listboxes close together, 1 on top , 1 on bottom. possible have 1 of listbox items on top listbox overlap listbox below?

you mean, this? if so, negative top margin answer:

<dockpanel>     <dockpanel.resources>         <style x:key="{x:type button}"                 targettype="button">             <setter property="width"                     value="50" />         </style>     </dockpanel.resources>     <listbox dockpanel.dock="top">         <listboxitem>             <button>foo</button>         </listboxitem>         <listboxitem>             <button>bar</button>         </listboxitem>         <listboxitem>             <button>baz</button>         </listboxitem>         <listboxitem>             <button>bat</button>         </listboxitem>     </listbox>     <listbox dockpanel.dock="top" margin="0, -10, 0, 0">         <listboxitem>             <button>foo</button>         </listboxitem>         <listboxitem>             <button>bar</button>         </listboxitem>         <listboxitem>             <button>baz</button>         </listboxitem>         <listboxitem>             <button>bat</button>         </listboxitem>     </listbox>      <textblock /> </dockpanel> 

Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -