-
marcelogr said 11 months, 4 weeks ago:
I can not use the C1DockPanel.
example:
<Grid x:Name="LayoutRoot"> <c1:C1DockPanel LastChildFill="True"> <Rectangle Fill="Yellow" c1:C1DockPanel.Dock="Top" Height="100" /> <Rectangle Fill="Blue" c1:C1DockPanel.Dock="Left" Width="100" /> <Rectangle Fill="Red" c1:C1DockPanel.Dock="Right" Width="100" /> <c1:C1DockSplitter Orientation="Horizontal" c1:C1NagScreen.Nag="True"/> <Rectangle Fill="Green" c1:C1DockPanel.Dock="Bottom" /> </c1:C1DockPanel> </Grid>
Attachments:
You must be logged in to view attched files.| #Hi,
I am not clear about the actual requirement. What I understand is that you don’t want
the Green rectangle to fill up the entire space in between.In this scenario, you are missing an additional rectangle to take up the space in the
center. Also you need to assign the height of the Green Rectangle. See the suggested
XAML below.<Grid x:Name="LayoutRoot" Background="White"> <c1:C1DockPanel LastChildFill="True"> <Rectangle Fill="Yellow" c1:C1DockPanel.Dock="Top" Height="100" /> <Rectangle Fill="Blue" c1:C1DockPanel.Dock="Left" Width="100" /> <Rectangle Fill="Red" c1:C1DockPanel.Dock="Right" Width="100" /> <c1d:C1DockSplitter Orientation="Horizontal"/> <Rectangle Fill="Green" c1:C1DockPanel.Dock="Bottom" Height="100" /> <Rectangle/> </c1:C1DockPanel> </Grid>Let me know if I have misunderstood the problem and request you to explain
your requirement in detail.| #Viewing 2 posts - 1 through 2 (of 2 total)You must be logged in to reply to this topic.

