Feature layer time offset

Time offset applied to a feature layer
Loading

Code

<UserControl x:Class="ArcGISRuntime.WPF.Samples.FeatureLayerTimeOffset.FeatureLayerTimeOffset"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013">
    <Grid>
        <esri:MapView x:Name="MyMapView" />
        <Border
            Background="White" BorderBrush="Black" BorderThickness="1"
            HorizontalAlignment="Right" VerticalAlignment="Top"
            Margin="30" Padding="20" Width="375">
            <StackPanel>
                <TextBlock Text="Red hurricanes offset 10 days"
                           FontWeight="Bold"
                           HorizontalAlignment="Center" Margin="0"
                           Foreground="Red" />
                <TextBlock Text="Blue hurricanes not offset"
                           FontWeight="Bold"
                           HorizontalAlignment="Center" Margin="0,5,0,0"
                           Foreground="Blue" />
                <Slider x:Name="MyTimeSlider"
                        Minimum="0" Maximum="1"
                        Margin="0,5,0,0"
                        ValueChanged="MyTimeSlider_ValueChanged" />
                <TextBlock x:Name="CurrentDateLabel"
                           Margin="0,5,0,0"
                           FontWeight="SemiBold" TextAlignment="Center" />
            </StackPanel>
        </Border>
    </Grid>
</UserControl>


In this topic
  1. Code