WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScriptBrowsableAttribute - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ScriptBrowsableAttribute

    Attribute alow to specify which element of class accessable for Script engine edit control can be show in model tree.

    Inheritance
    System.Object
    System.Attribute
    ScriptBrowsableAttribute
    Implements
    System.Runtime.InteropServices._Attribute
    Inherited Members
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Module)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.Equals(System.Object)
    System.Attribute.GetHashCode()
    System.Attribute.Match(System.Object)
    System.Attribute.IsDefaultAttribute()
    System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfoCount(System.UInt32)
    System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfo(System.UInt32, System.UInt32, System.IntPtr)
    System.Attribute.System.Runtime.InteropServices._Attribute.GetIDsOfNames(System.Guid, System.IntPtr, System.UInt32, System.UInt32, System.IntPtr)
    System.Attribute.System.Runtime.InteropServices._Attribute.Invoke(System.UInt32, System.Guid, System.UInt32, System.Int16, System.IntPtr, System.IntPtr, System.IntPtr, System.IntPtr)
    System.Attribute.TypeId
    System.Object.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Scripting
    Assembly: Syncfusion.Scripting.Base.dll
    Syntax
    public class ScriptBrowsableAttribute : Attribute, _Attribute

    Constructors

    ScriptBrowsableAttribute(PropertyType, String)

    Using this constructor for mark "Item" class

    Declaration
    public ScriptBrowsableAttribute(PropertyType property, string name)
    Parameters
    Type Name Description
    PropertyType property

    Type property - must be equal PropertyType.Item

    System.String name

    Name of property that using for showing name of Item.

    ScriptBrowsableAttribute(PropertyType, Type)

    Using this constructor for mark "Colleciton" property

    Declaration
    public ScriptBrowsableAttribute(PropertyType property, Type type)
    Parameters
    Type Name Description
    PropertyType property
    System.Type type

    ScriptBrowsableAttribute(PropertyType, Type, String)

    Declaration
    public ScriptBrowsableAttribute(PropertyType property, Type type, string name)
    Parameters
    Type Name Description
    PropertyType property
    System.Type type
    System.String name

    ScriptBrowsableAttribute(Boolean)

    Main constructor for our own use

    Declaration
    public ScriptBrowsableAttribute(bool visible)
    Parameters
    Type Name Description
    System.Boolean visible

    True - element of class is visible to ScriptEditControl, otherwise False

    Properties

    IsVisible

    Indicated whether class property is visible

    Declaration
    public bool IsVisible { get; }
    Property Value
    Type Description
    System.Boolean

    Name

    Gets the name of property that using for showing name of Item. Readonly

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    PropertyType

    Indicated way for show property. Readonly

    Declaration
    public PropertyType PropertyType { get; }
    Property Value
    Type Description
    PropertyType

    Methods

    GetFromMemberInfo(MemberInfo)

    Declaration
    public static ScriptBrowsableAttribute GetFromMemberInfo(MemberInfo info)
    Parameters
    Type Name Description
    System.Reflection.MemberInfo info
    Returns
    Type Description
    ScriptBrowsableAttribute

    GetItemNameProperty()

    Declaration
    public PropertyInfo GetItemNameProperty()
    Returns
    Type Description
    System.Reflection.PropertyInfo

    Implements

    System.Runtime.InteropServices._Attribute
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved