Grid snaps for ZoomControl, not critical Theme corrections, new demo set

This commit is contained in:
2019-06-22 00:42:22 +03:00
parent 70aada3d59
commit 5da5856308
11 changed files with 395 additions and 75 deletions

View File

@@ -67,6 +67,15 @@ namespace BrightSharp.Diagrams
public double GridSize
{
get { return (double)GetValue(GridSizeProperty); }
set { SetValue(GridSizeProperty, value); }
}
public static readonly DependencyProperty GridSizeProperty =
DependencyProperty.Register("GridSize", typeof(double), typeof(ZoomControl), new PropertyMetadata(0.0));
public double RenderZoom
{
get { return (double)GetValue(RenderZoomProperty); }