Condividi tramite


ReferenceEditorBase Class

Base reference editor class. Used for edititng ModelBusReference in property browser.

Inheritance Hierarchy

System.Object
  System.Drawing.Design.UITypeEditor
    Microsoft.VisualStudio.Modeling.Integration.Picker.ReferenceEditorBase
      Microsoft.VisualStudio.Modeling.Integration.Picker.ModelElementReferenceEditor
      Microsoft.VisualStudio.Modeling.Integration.Picker.ModelReferenceEditor

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

Syntax

'Dichiarazione
Public MustInherit Class ReferenceEditorBase _
    Inherits UITypeEditor
public abstract class ReferenceEditorBase : UITypeEditor
public ref class ReferenceEditorBase abstract : public UITypeEditor
[<AbstractClass>]
type ReferenceEditorBase =  
    class
        inherit UITypeEditor
    end
public abstract class ReferenceEditorBase extends UITypeEditor

The ReferenceEditorBase type exposes the following members.

Constructors

  Name Description
Protected method ReferenceEditorBase

Top

Properties

  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

Top

Methods

  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 (Overrides UITypeEditor.EditValue(ITypeDescriptorContext, IServiceProvider, Object).)
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 (Overrides UITypeEditor.GetEditStyle(ITypeDescriptorContext).)
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
Protected method ResolveReferencePicker Resolves the reference picker and returns true if resolved
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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

Reference

Microsoft.VisualStudio.Modeling.Integration.Picker Namespace