menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Gridlines - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Gridlines

    Represent to Visual horizontal/vertical lines that helps to align elements on diagram.

    Inheritance
    System.Object
    Gridlines
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public class Gridlines : Object, INotifyPropertyChanged

    Constructors

    Gridlines()

    Initializes a new instance of the Gridlines class.

    Declaration
    public Gridlines()

    Properties

    DynamicZoom

    Gets or sets a value to indicate whether dynamiczoom is enable.

    Declaration
    public bool DynamicZoom { get; set; }
    Property Value
    Type
    System.Boolean

    LinesInterval

    To Customize the spacing and thickness of Gridlines Gridlines gridlines = new Gridlines() { LinesInterval = new List lt;double>() { 2, 23, 1, 24 } };

    Declaration
    public IEnumerable<double> LinesInterval { get; set; }
    Property Value
    Type
    System.Collections.Generic.IEnumerable<System.Double>

    SnapInterval

    Gets or sets to specify the SnapIntervals of Gridlines.

    Declaration
    public IEnumerable<double> SnapInterval { get; set; }
    Property Value
    Type
    System.Collections.Generic.IEnumerable<System.Double>

    Strokes

    Gets or sets to specify the styles for a pattern of Gridlines

    Declaration
    public IEnumerable<Style> Strokes { get; set; }
    Property Value
    Type
    System.Collections.Generic.IEnumerable<Windows.UI.Xaml.Style>

    Methods

    OnPropertyChanged(String)

    Invoked whenever the effective value of any dependency property on this FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides OnPropertyChanged(name).

    Declaration
    protected virtual void OnPropertyChanged(string prop)
    Parameters
    Type Name Description
    System.String prop

    Events

    PropertyChanged

    Occurs when a property value changes.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved