Hello,
Is it possible to display a Popup that does not overlap with content outside of it's parent RadPane?
I have played around with the ZIndex but with not luck, the Popup is always top most.
I'm building a custom control that has a DropDown component, which I'm using the Popup control to represent. The problem is when the width of a RadPane is less than the width of the Popup the DropDown spills over into the Document Host area, which looks very strange. Ideally I want the Popup to clip and stay within the bounds of the RadPane. Here's a screenshot:
http://www.flickr.com/photos/36587020@N04/3889061980/
Any help appreciated,
Cheers,
James.
Is it possible to display a Popup that does not overlap with content outside of it's parent RadPane?
I have played around with the ZIndex but with not luck, the Popup is always top most.
I'm building a custom control that has a DropDown component, which I'm using the Popup control to represent. The problem is when the width of a RadPane is less than the width of the Popup the DropDown spills over into the Document Host area, which looks very strange. Ideally I want the Popup to clip and stay within the bounds of the RadPane. Here's a screenshot:
http://www.flickr.com/photos/36587020@N04/3889061980/
<Popup x:Name="Popup" Canvas.ZIndex="-1000"> |
<Border x:Name="PopupBorder" Canvas.ZIndex="-1000" |
Background="{TemplateBinding Background}" |
Height="Auto" |
HorizontalAlignment="Stretch" |
BorderBrush="{TemplateBinding BorderBrush}"> |
<ItemsPresenter /> |
</Border> |
</Popup> |
Any help appreciated,
Cheers,
James.