Class AutoCompleteStateSerializer
AutoCompleteStateSerializer class the provides an encapsulation for the data to be serialized for persisting drop down size of the AutoComplete.
Inheritance
System.Object
AutoCompleteStateSerializer
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.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class AutoCompleteStateSerializer : ISerializable
Constructors
AutoCompleteStateSerializer(AutoComplete)
Initialize the new instance of the AutoCompleteStateSerializer class.
Declaration
public AutoCompleteStateSerializer(AutoComplete acSrc)
Parameters
Type | Name | Description |
---|---|---|
AutoComplete | acSrc | Represent the instance of AutoComplete. |
AutoCompleteStateSerializer(SerializationInfo, StreamingContext)
Declaration
protected AutoCompleteStateSerializer(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
Properties
DropDownHeight
Gets or sets the height of the drop down.
Declaration
public int DropDownHeight { get; set; }
Property Value
Type |
---|
System.Int32 |
DropDownWidth
Gets or sets the Width of the drop down.
Declaration
public int DropDownWidth { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Gets the serialization of AutoComplete objects.
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | Stores all data. |
System.Runtime.Serialization.StreamingContext | context | It provides the value of the context. |
Implements
System.Runtime.Serialization.ISerializable