menu

UWP

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

    Show / Hide Table of Contents

    Class CustomViewSettings

    Class which represents the custom view settings.

    Inheritance
    System.Object
    CustomViewSettings
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.UI.Xaml.ImageEditor
    Assembly: Syncfusion.SfImageEditor.UWP.dll
    Syntax
    public class CustomViewSettings : Object, INotifyPropertyChanged

    Constructors

    CustomViewSettings()

    Initializes a new instance of the CustomViewSettings class.

    Declaration
    public CustomViewSettings()

    Properties

    Angle

    Gets or sets the rotation angle for the custom view.

    Declaration
    public float Angle { get; set; }
    Property Value
    Type
    System.Single

    Bounds

    Gets or sets the bounds of the custom view.

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

    CanMaintainAspectRatio

    Gets or sets a value indicating whether to maintain aspect ratio while resizing.

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

    EnableDrag

    Gets or sets a value indicating whether custom view can be dragged or not.

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

    IsResizable

    Gets or sets a value indicating whether to resize the custom view or not.

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

    ShapeID

    Gets the unique ID of the custom view.

    Declaration
    public int ShapeID { get; }
    Property Value
    Type
    System.Int32

    Methods

    OnPropertyChanged(String)

    Method gets called when the property value gets changed.

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

    The proeprty name.

    Events

    PropertyChanged

    Event gets raised when the property value gets changed.

    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