Skip to content

Commit f19c949

Browse files
committed
[Desktop] Updated samples for platform consistency
- Removed Graphics Layers / SmoothGraphicAnimation sample - Moved MovePoints sample from Graphics Layers to Editing category
1 parent c9f39bb commit f19c949

File tree

6 files changed

+10
-178
lines changed

6 files changed

+10
-178
lines changed

src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/ArcGISRuntimeSDKDotNet_DesktopSamples.csproj

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
<Compile Include="Samples\GeoprocessingTasks\Viewshed.xaml.cs">
224224
<DependentUpon>Viewshed.xaml</DependentUpon>
225225
</Compile>
226-
<Compile Include="Samples\GraphicsLayers\MovePoints.xaml.cs">
226+
<Compile Include="Samples\Editing\MovePoints.xaml.cs">
227227
<DependentUpon>MovePoints.xaml</DependentUpon>
228228
</Compile>
229229
<Compile Include="Samples\GraphicsLayers\AddInteractively.xaml.cs">
@@ -253,9 +253,6 @@
253253
<Compile Include="Samples\GraphicsLayers\GraphicsSourceSample.xaml.cs">
254254
<DependentUpon>GraphicsSourceSample.xaml</DependentUpon>
255255
</Compile>
256-
<Compile Include="Samples\GraphicsLayers\SmoothGraphicAnimation.xaml.cs">
257-
<DependentUpon>SmoothGraphicAnimation.xaml</DependentUpon>
258-
</Compile>
259256
<Compile Include="Samples\ImageryTasks\ComputeClassStatistics.xaml.cs">
260257
<DependentUpon>ComputeClassStatistics.xaml</DependentUpon>
261258
</Compile>
@@ -651,7 +648,7 @@
651648
<Generator>MSBuild:Compile</Generator>
652649
<SubType>Designer</SubType>
653650
</Page>
654-
<Page Include="Samples\GraphicsLayers\MovePoints.xaml">
651+
<Page Include="Samples\Editing\MovePoints.xaml">
655652
<Generator>MSBuild:Compile</Generator>
656653
<SubType>Designer</SubType>
657654
</Page>
@@ -691,10 +688,6 @@
691688
<Generator>MSBuild:Compile</Generator>
692689
<SubType>Designer</SubType>
693690
</Page>
694-
<Page Include="Samples\GraphicsLayers\SmoothGraphicAnimation.xaml">
695-
<Generator>MSBuild:Compile</Generator>
696-
<SubType>Designer</SubType>
697-
</Page>
698691
<Page Include="Samples\ImageryTasks\ComputeClassStatistics.xaml">
699692
<Generator>MSBuild:Compile</Generator>
700693
<SubType>Designer</SubType>

src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Assets/SampleDescriptions.xml

Lines changed: 3 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/GraphicsLayers/MovePoints.xaml renamed to src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/Editing/MovePoints.xaml

File renamed without changes.

src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/GraphicsLayers/MovePoints.xaml.cs renamed to src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/Editing/MovePoints.xaml.cs

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
11
using Esri.ArcGISRuntime.Controls;
22
using Esri.ArcGISRuntime.Geometry;
33
using Esri.ArcGISRuntime.Layers;
4-
using Esri.ArcGISRuntime.Symbology;
54
using System;
6-
using System.ComponentModel;
7-
using System.Threading.Tasks;
8-
using System.Windows;
95
using System.Windows.Controls;
106

117
namespace ArcGISRuntimeSDKDotNet_DesktopSamples.Samples
128
{
139
/// <summary>
14-
/// Move point graphics around using hittesting and mouse move.
15-
/// </summary>
16-
/// <title>Move point graphics interactively</title>
17-
/// <category>Layers</category>
18-
/// <subcategory>Graphics Layers</subcategory>
19-
public partial class MovePoints : UserControl
10+
/// Demonstrates one method of moving graphic points on the map.
11+
/// </summary>
12+
/// <title>Move Points</title>
13+
/// <category>Editing</category>
14+
public partial class MovePoints : UserControl
2015
{
21-
2216
public MovePoints()
2317
{
2418
InitializeComponent();

src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/GraphicsLayers/SmoothGraphicAnimation.xaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/GraphicsLayers/SmoothGraphicAnimation.xaml.cs

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)