DropShadow on animation

Hi everybody,

Can’t figure how to make a DropShadow appear when I want it too.

My case is: I’d like my EdgeNavigator to drop a shadow when it’s active, but not when it’s not.

Thanks

Someone ?

Hi LimeInBox.

Sorry about the slow reply. Here is an example of how you can do it:

<App Theme="Basic">
    <EdgeNavigator HitTestMode="LocalBoundsAndChildren">

        <Panel Width="150" EdgeNavigation.Edge="Left" Background="#f63" >
            <DropShadow ux:Name="ds" Size="0" Distance="10"/>
            <ActivatingAnimation>
                <Change ds.Size="25"/>
            </ActivatingAnimation>
        </Panel>

        <Panel>
            <Text Alignment="Center">
                This is an example of EdgeNavigator!
            </Text>
        </Panel>
    </EdgeNavigator>
</App>

Thanks, sorry for asking something that simple :frowning: