WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ViewInfo - WindowsForms API Reference | Syncfusion View data. ">

    Show / Hide Table of Contents

    Class ViewInfo

    Serializable class used for persisting the View data.

    Inheritance
    System.Object
    ViewInfo
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class ViewInfo : ISerializable
    Remarks

    When using a custom View for the diagram control that contains its own persistence data, use a subclass of the ViewInfo type for serializing the new View data. GetViewInfo() SetViewInfo(ViewInfo)

    Constructors

    ViewInfo(View)

    Initializes a new instance of the ViewInfo class.

    Declaration
    public ViewInfo(View srcview)
    Parameters
    Type Name Description
    View srcview

    The view.

    ViewInfo(SerializationInfo, StreamingContext)

    Initializes a new instance of the ViewInfo class.

    Declaration
    protected ViewInfo(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    SerializationInfo object to populate.

    System.Runtime.Serialization.StreamingContext context

    Destination streaming context.

    Fields

    backgroundColor

    Background color.

    Declaration
    protected Color backgroundColor
    Field Value
    Type Description
    System.Drawing.Color

    handleAnchorColor

    Color of the handle anchor.

    Declaration
    protected Color handleAnchorColor
    Field Value
    Type Description
    System.Drawing.Color

    handleColor

    Color of the handle.

    Declaration
    protected Color handleColor
    Field Value
    Type Description
    System.Drawing.Color

    handleDisabledColor

    Color of the disabled color.

    Declaration
    protected Color handleDisabledColor
    Field Value
    Type Description
    System.Drawing.Color

    handleOutlineColor

    Outline color of the handle.

    Declaration
    protected Color handleOutlineColor
    Field Value
    Type Description
    System.Drawing.Color

    handleSize

    Size of the handle.

    Declaration
    protected int handleSize
    Field Value
    Type Description
    System.Int32

    ptOrigin

    Origin of the view.

    Declaration
    protected PointF ptOrigin
    Field Value
    Type Description
    System.Drawing.PointF

    rcBounds

    The bounding rectangle.

    Declaration
    protected Rectangle rcBounds
    Field Value
    Type Description
    System.Drawing.Rectangle

    szMagnification

    Size of the magnification.

    Declaration
    protected Size szMagnification
    Field Value
    Type Description
    System.Drawing.Size

    Methods

    GetObjectData(SerializationInfo, StreamingContext)

    Populates a SerializationInfo with the data needed to serialize the target object.

    Declaration
    protected virtual void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    SerializationInfo object to populate.

    System.Runtime.Serialization.StreamingContext context

    Destination streaming context.

    Explicit Interface Implementations

    ISerializable.GetObjectData(SerializationInfo, StreamingContext)

    Populates a SerializationInfo with the data needed to serialize the target object.

    Declaration
    void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    SerializationInfo object to populate.

    System.Runtime.Serialization.StreamingContext context

    Destination streaming context.

    Implements

    System.Runtime.Serialization.ISerializable
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved