menu

WinForms

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

    Show / Hide Table of Contents

    Class ControlStateStore

    Represents a class for storing control state.

    Inheritance
    System.Object
    ControlStateStore
    Implements
    System.Runtime.Serialization.ISerializable
    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.Windows.Forms.Edit.Utils
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public class ControlStateStore : ISerializable

    Properties

    SerializeCollapsibleRegion

    Gets or sets the serializable collapsable region.

    Declaration
    public IList SerializeCollapsibleRegion { get; set; }
    Property Value
    Type
    System.Collections.IList

    Methods

    CanApply(StreamEditControl)

    Checks whether current control state store instance can be applied to certain stream edit control object.

    Declaration
    public bool CanApply(StreamEditControl control)
    Parameters
    Type Name Description
    StreamEditControl control

    Control to check.

    Returns
    Type Description
    System.Boolean

    True if state can be applied, therwise false.

    GetObjectData(SerializationInfo, StreamingContext)

    Gets the data for serialization.

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

    SerializationInfo.

    System.Runtime.Serialization.StreamingContext context

    StreamingContext.

    RestoreData(StreamEditControl, Boolean)

    Restores the saved data to control.

    Declaration
    public void RestoreData(StreamEditControl control, bool append)
    Parameters
    Type Name Description
    StreamEditControl control

    Control to restore data to.

    System.Boolean append

    Specifies whether settings from the state should be applied without clearin currently used settings.

    StoreData(StreamEditControl)

    Stores all the needed information about control state.

    Declaration
    public void StoreData(StreamEditControl control)
    Parameters
    Type Name Description
    StreamEditControl control

    Control to store info about.

    Implements

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