ModelElementReferenceEditor Class

Model element reference editor

Inheritance Hierarchy


Namespace:  Microsoft.VisualStudio.Modeling.Integration.Picker
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll)


Public Class ModelElementReferenceEditor _
    Inherits ReferenceEditorBase
public class ModelElementReferenceEditor : ReferenceEditorBase
public ref class ModelElementReferenceEditor : public ReferenceEditorBase
type ModelElementReferenceEditor =  
        inherit ReferenceEditorBase 
public class ModelElementReferenceEditor extends ReferenceEditorBase

The ModelElementReferenceEditor type exposes the following members.


  Name Description
Public method ModelElementReferenceEditor



  Name Description
Public property IsDropDownResizable Gets a value indicating whether drop-down editors should be resizable by the user. (Inherited from UITypeEditor.)
Public property ReferencePicker The resolved reference picker (Inherited from ReferenceEditorBase.)



  Name Description
Public method EditValue(IServiceProvider, Object) Edits the value of the specified object using the editor style indicated by the GetEditStyle method. (Inherited from UITypeEditor.)
Public method EditValue(ITypeDescriptorContext, IServiceProvider, Object) Edits ModelBusReference in resolved Host using resolved BrowserType (Inherited from ReferenceEditorBase.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEditStyle Gets the editor style used by the EditValue method. (Inherited from UITypeEditor.)
Public method GetEditStyle(ITypeDescriptorContext) Returns the edit style base on the IReferencePicker, if not available then NONE (Inherited from ReferenceEditorBase.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPaintValueSupported Indicates whether this editor supports painting a representation of an object's value. (Inherited from UITypeEditor.)
Public method GetPaintValueSupported(ITypeDescriptorContext) Indicates whether the specified context supports painting a representation of an object's value within the specified context. (Inherited from UITypeEditor.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PaintValue(PaintValueEventArgs) Paints a representation of the value of an object using the specified PaintValueEventArgs. (Inherited from UITypeEditor.)
Public method PaintValue(Object, Graphics, Rectangle) Paints a representation of the value of the specified object to the specified canvas. (Inherited from UITypeEditor.)
Protected method PickReference Picks reference using element picker (Overrides ReferenceEditorBase.PickReference(ITypeDescriptorContext, IWindowsFormsEditorService, Store, ModelBusReference).)
Protected method ResolveReferencePicker Resolves the reference picker and returns true if resolved (Inherited from ReferenceEditorBase.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Microsoft.VisualStudio.Modeling.Integration.Picker Namespace