I'm trying to change the Full Extent for the Minimal Template off the Interactive SDK. I believe the xaml in the DarkStyle.xaml and/or BlueStyle.xaml is setting the properties of the button/icon (Height, ToolTip, etc) but I can't find the code to change the fullextent.
<Button x:Name="ZoomFullExtent" Height="20" FontSize="8" Width="20" ToolTipService.ToolTip="Full Extent" Margin="2,0,2,5" Style="{StaticResource ClearButtonStyle}" Foreground="White" Padding="-5" Cursor="Hand" >
<Button.Content>
<Grid x:Name="ZoomFullExtentGrid" Height="20" Width="20" ToolTipService.ToolTip="Full Extent" Margin="-1,0,2,5" >
<icons:WorldGlobe Scale="0.75" ExpandOnMouseOver="True" Cursor="Hand" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="-5" OceanFill="{StaticResource oceanBrush}" LandFill="{StaticResource landBrush}" />
</Grid>
</Button.Content>
</Button>
I think it is just taking the extent of all my services or the first service layer but I would like to do something like to set it to a single layer or something like this
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<esri:ZoomToAction TargetName="Map">
<esri:ZoomToAction.Geometry>
<esri:Envelope XMin="-122.9" YMin="40.9" XMax="-117.9" YMax="30.1" />
</esri:ZoomToAction.Geometry>
</esri:ZoomToAction>
</i:EventTrigger>
</i:Interaction.Triggers>
But this doesn't work or I don't know where to add it or where to find the code when the icon/button is click. Can you help me?Thanks