SendToBack Constructor uno
Creates a new SendToBack
Reorders the siblings of a Visual so that the Visual will be rendered underneath.
Note that it doesn't affect the Visual's
ZOffset. Instead, it reorders the Visual amongst its siblings so that it will be drawn underneath. This means that usingZOffsetcan still cause this Visual to be rendered on top of its siblings.
<ScrollView>
<Grid Rows="400, 1*" Margin="10">
<Panel>
<TextBlock ux:Name="textInFront" Alignment="Center" FontSize="20" Color="#fff">I'll be sent to the back!</TextBlock>
<Rectangle Margin="10" CornerRadius="4" ux:Name="topRect">
<LinearGradient>
<GradientStop Offset="0" Color="#a542db" />
<GradientStop Offset="1" Color="#3579e6" />
</LinearGradient>
</Rectangle>
</Panel>
<Rectangle Margin="10">
<Stroke Offset="4" Width="1" Color="#3579e6" />
<Button Text="Send element to back" Alignment="Bottom">
<Clicked>
<SendToBack Target="textInFront" />
</Clicked>
</Button>
</Rectangle>
</Grid>
</ScrollView>
Creates a new SendToBack
The number of seconds after the start of the trigger that the action should be performed.
hide
hide
hide