Set EdgeMode/BorderMode globally

This commit is contained in:
ClemensFischer 2025-01-01 08:16:24 +01:00
parent bab3762a19
commit 9a59b9b7cd
3 changed files with 12 additions and 8 deletions

View file

@ -81,6 +81,11 @@ namespace MapControl
FlowDirectionProperty.OverrideMetadata(typeof(MapBase), new FrameworkPropertyMetadata(FlowDirection.LeftToRight) { Inherits = false });
}
public MapBase()
{
RenderOptions.SetEdgeMode(this, EdgeMode.Aliased);
}
/// <summary>
/// Gets or sets the EasingFunction of the Center, ZoomLevel and Heading animations.
/// The default value is a QuadraticEase with EasingMode.EaseOut.