menu

UWP

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

    Show / Hide Table of Contents

    Class ScrollSettings

    Represents the zoom value, zoom factor, scroll status and view port size of the diagram.

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

    Constructors

    ScrollSettings()

    Initializes a new instance of the ScrollSettings class.

    Declaration
    public ScrollSettings()

    Properties

    AutoScrollBorder

    Gets or sets the maximum distance to be left between the object and the scroll bar to trigger auto scrolling.

    Declaration
    public Thickness AutoScrollBorder { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Thickness

    AutoScrollLimit

    Gets or sets the scrollable region of Diagram.

    Declaration
    public ScrollLimit AutoScrollLimit { get; set; }
    Property Value
    Type
    ScrollLimit

    DragLimit

    Gets or sets the scrollable region of Diagram using Mouse Wheel.

    Declaration
    public ScrollLimit DragLimit { get; set; }
    Property Value
    Type
    ScrollLimit

    EditableArea

    Gets or sets the dragable region of Diagram.

    Declaration
    public Rect EditableArea { get; set; }
    Property Value
    Type
    Windows.Foundation.Rect

    MaximumScrollableArea

    Gets or sets the maximum scrollable area of Diagram. Applicable, if the scroll limit is “Limited”

    Declaration
    public Nullable<Point> MaximumScrollableArea { get; set; }
    Property Value
    Type
    System.Nullable<Windows.Foundation.Point>

    MaxZoom

    Gets or sets the maximum zoom value for the diagram.

    Declaration
    public double MaxZoom { get; set; }
    Property Value
    Type
    System.Double

    MinimumScrollableArea

    Gets or sets the minimum scrollable area of Diagram. Applicable, if the scroll limit is “Limited”

    Declaration
    public Nullable<Point> MinimumScrollableArea { get; set; }
    Property Value
    Type
    System.Nullable<Windows.Foundation.Point>

    MinZoom

    Gets or sets the minimum zoom value for the diagram.

    Declaration
    public double MinZoom { get; set; }
    Property Value
    Type
    System.Double

    ScrollableArea

    Gets or sets the scrollable area of Diagram. Applicable, if the scroll limit is “Limited”.

    Declaration
    public Rect ScrollableArea { get; set; }
    Property Value
    Type
    Windows.Foundation.Rect

    ScrollFactor

    Gets or sets the scrollfactor to scroll the diagram.

    Declaration
    public Nullable<double> ScrollFactor { get; set; }
    Property Value
    Type
    System.Nullable<System.Double>

    ScrollInfo

    Gets the information about the scrolling.

    Declaration
    public IScrollInfo ScrollInfo { get; }
    Property Value
    Type
    IScrollInfo

    ScrollLimit

    Gets or sets the scrollable region of Diagram using Mouse Wheel.

    Declaration
    public ScrollLimit ScrollLimit { get; set; }
    Property Value
    Type
    ScrollLimit

    ZoomFactor

    Gets or sets the zoomfactor value to zoom in or zoom out the diagram.

    Declaration
    public double ZoomFactor { get; set; }
    Property Value
    Type
    System.Double

    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 name)
    Parameters
    Type Name Description
    System.String name

    SetHorizontalOffset(Double)

    Specifies the method to update the horizotal offset for scrolling.

    Declaration
    public void SetHorizontalOffset(double x)
    Parameters
    Type Name Description
    System.Double x

    Gets x value

    SetVerticalOffset(Double)

    Specifies the method to update the vertical offset for scrolling.

    Declaration
    public void SetVerticalOffset(double y)
    Parameters
    Type Name Description
    System.Double y

    Gets y value

    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