Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello everyone.

I have a simple grid with 3 user controls in it.
XML
<Grid Name="contentGrid" Grid.Row="1">
            <cntr:SourceDestination x:Name="sourceSelector" Opacity="0" Background="#FFC8D1F9"/>
            <cntr:BackupDestination x:Name="backupSelector" Opacity="0" Background="#FFD9FDDA"/>
            <cntr:Summary x:Name="summaryControl" Opacity="0"/>
        </Grid>


I swap these with with an animation function. This is working perfectly.
The trouble I'm having is with the user control in the grid. The first user control child controls cannot be accessed. It acts as if it's disabled.

I have tried focusing and enabling the user control to no avail. I have noticed if I change the order in which these user controls are added to the grid, it's always the first control that cannot be accessed.

Please help
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900