menu

WinForms

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

    Show / Hide Table of Contents

    Class GridHelperClassesWindowsAssembly

    Inheritance
    System.Object
    GridHelperClassesWindowsAssembly
    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
    Assembly: Syncfusion.GridHelperClasses.Windows.dll
    Syntax
    public class GridHelperClassesWindowsAssembly

    Constructors

    GridHelperClassesWindowsAssembly()

    Declaration
    public GridHelperClassesWindowsAssembly()

    Fields

    Assembly

    A reference to the System.Reflection.Assembly for the Grid assembly.

    Declaration
    public static readonly Assembly Assembly
    Field Value
    Type
    System.Reflection.Assembly

    Name

    The full name of this assembly without version information: "Syncfusion.GridHelperClasses.Windows"

    Declaration
    public static readonly string Name
    Field Value
    Type
    System.String

    RootNamespace

    The root namespace of this assembly. Used internally for locating resources within the assembly.

    Declaration
    public static readonly string RootNamespace
    Field Value
    Type
    System.String

    Methods

    AssemblyResolver(Object, ResolveEventArgs)

    This delegate helps with resolving types and can be used as a eventhandler for a System.AppDomain.AssemblyResolve event.

    Declaration
    public static Assembly AssemblyResolver(object sender, ResolveEventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    The source of the event.

    System.ResolveEventArgs e

    The event data with information about the type.

    Returns
    Type Description
    System.Reflection.Assembly

    A reference to the assembly where the type is located.

    Remarks

    Use this handler when reading back types from a serialization stread saved with an earlier version of this assembly.

    Examples
            public static GridModel LoadSoap(Stream s)
            {
                try
                {
                    AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(GridBaseAssembly.AssemblyResolver);
                    SoapFormatter b = new SoapFormatter();
                    b.AssemblyFormat = FormatterAssemblyStyle.Simple;
                    GridModel t = b.Deserialize(s) as GridModel;
                    t.Modified = false;
                    return t;
                }
                finally
                {
                    AppDomain.CurrentDomain.AssemblyResolve -= new ResolveEventHandler(GridBaseAssembly.AssemblyResolver);
                }
            }
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved