menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CustomViewSettings - WPF 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
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.ImageEditor
    Assembly: Syncfusion.SfImageEditor.WPF.dll
    Syntax
    public class CustomViewSettings : 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
    System.Windows.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

    IsRotatable

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

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

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved