menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDesigner.GetTypeDescriptorContext

    Show / Hide Table of Contents

    Class GridDesigner.GetTypeDescriptorContext

    Provides contextual information about a component, such as its container and property descriptor.

    Inheritance
    System.Object
    GridDesigner.GetTypeDescriptorContext
    Implements
    System.ComponentModel.ITypeDescriptorContext
    System.IServiceProvider
    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.JavaScript.Web
    Assembly: Syncfusion.EJ.Web.dll
    Syntax
    public class GetTypeDescriptorContext : ITypeDescriptorContext, IServiceProvider

    Constructors

    GetTypeDescriptorContext(IDesignerHost, PropertyDescriptor, Object)

    Declaration
    [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
    public GetTypeDescriptorContext(IDesignerHost designerHost, PropertyDescriptor propDesc, object instance)
    Parameters
    Type Name Description
    System.ComponentModel.Design.IDesignerHost designerHost
    System.ComponentModel.PropertyDescriptor propDesc
    System.Object instance

    Properties

    Container

    Declaration
    public IContainer Container { get; }
    Property Value
    Type Description
    System.ComponentModel.IContainer

    Instance

    Instance constructors are used to create and initialize any instance member variables when you use the new expression to create an object of a class.

    Declaration
    public object Instance
    {
        [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
        get;
    }
    Property Value
    Type Description
    System.Object

    PropertyDescriptor

    Provides an abstraction of a property on a class.

    Declaration
    public PropertyDescriptor PropertyDescriptor
    {
        [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
        get;
    }
    Property Value
    Type Description
    System.ComponentModel.PropertyDescriptor

    Methods

    GetService(Type)

    Returns an object that represents a service provided by the Component or by its Container.

    Declaration
    public object GetService(Type serviceType)
    Parameters
    Type Name Description
    System.Type serviceType

    It displays the service provided by the component

    Returns
    Type Description
    System.Object

    GetService

    OnComponentChanged()

    Called when the associated control changes.

    Declaration
    public void OnComponentChanged()

    OnComponentChanging()

    Represents the method that will handle the ComponentChanging event for the associated control.

    Declaration
    public bool OnComponentChanging()
    Returns
    Type Description
    System.Boolean

    It returns the boolean value

    Implements

    System.ComponentModel.ITypeDescriptorContext
    System.IServiceProvider
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved