Bogue
| Numéro d’ID de bogue | BUG-000122234 |
|---|---|
| Envoi | May 8, 2019 |
| Dernière modification | July 18, 2025 |
| S’applique à | ArcGIS Runtime SDK |
| Version trouvée | 100.4 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Version de correction | 100.8 |
| Statut | Fixed |
#. Override the GeoView style.
#. Disable manipulation on the root.
#. Enabling manipulation on just the MapSurface object.
```
<Grid>
<Grid.Resources>
<Style x:Key="GeoViewNewStyle" TargetType="{x:Type esri:GeoView}">
<Setter Property="IsManipulationEnabled" Value="False" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type esri:GeoView}">
<Border Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="ExpandCollapseAttribution">
<VisualState x:Name="CollapsedAttribution" />
<VisualState x:Name="ExpandedAttribution">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="AttributionText" Storyboard.TargetProperty="TextWrapping">
<DiscreteObjectKeyFrame KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<TextWrapping>Wrap</TextWrapping>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid>
<Border x:Name="MapSurface" Width="Auto" Height="Auto" IsManipulationEnabled="True" />
<!-- Note: Before removing the attribution, please read the terms of use -->
<Grid x:Name="AttributionArea" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Background="#A6FFFFFF" ToolTip="{Binding AttributionText, RelativeSource={RelativeSource TemplatedParent}, Mode=OneWay}">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock x:Name="AttributionText" Text="{Binding AttributionText, RelativeSource={RelativeSource TemplatedParent}, Mode=OneWay}" Foreground="#FF323232" Margin="4,2" FontSize="12" TextTrimming="CharacterEllipsis" TextWrapping="NoWrap" />
<ContentControl x:Name="EsriLogo" Grid.Column="1" VerticalAlignment="Top" HorizontalAlignment="Right">
<TextBlock Text="Powered by Esri" Foreground="#FF323232" FontSize="12" Margin="4,2" />
</ContentControl>
</Grid>
<Rectangle x:Name="ZoomBox" Fill="#55FFFFFF" Stroke="CornflowerBlue" StrokeThickness="2" Visibility="Collapsed" />
<Border x:Name="Overlay" />
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Grid.Resources>
<esri:MapView x:Name="mapView" Style="{StaticResource GeoViewNewStyle}" />
ID de bogue: BUG-000122234
Logiciel:
Obtenir de l’aide auprès des experts ArcGIS
Télécharger l’application Esri Support