ReferenceEditorBase 类

基引用编辑器类。 用于在属性浏览器中编辑 ModelBusReference。

继承层次结构

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

命名空间:  Microsoft.VisualStudio.Modeling.Integration.Picker
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll 中)

语法

声明
Public MustInherit Class ReferenceEditorBase _
    Inherits UITypeEditor
public abstract class ReferenceEditorBase : UITypeEditor

ReferenceEditorBase 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 ReferenceEditorBase

页首

属性

  名称 说明
公共属性 IsDropDownResizable 获取一个值,指示是否应该由用户调整下拉编辑器的大小。 (继承自 UITypeEditor。)
公共属性 ReferencePicker 已解析的引用选取器

页首

方法

  名称 说明
公共方法 EditValue(IServiceProvider, Object) 使用 GetEditStyle 方法所指示的编辑器样式编辑指定对象的值。 (继承自 UITypeEditor。)
公共方法 EditValue(ITypeDescriptorContext, IServiceProvider, Object) 使用解析的 BrowserType 编辑解析主机的 ModelBusReference。 (重写 UITypeEditor.EditValue(ITypeDescriptorContext, IServiceProvider, Object)。)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetEditStyle() 获取由 EditValue 方法使用的编辑器样式。 (继承自 UITypeEditor。)
公共方法 GetEditStyle(ITypeDescriptorContext) 返回基于 IReferencePicker 的编辑样式,如果不可利用则为 NONE (重写 UITypeEditor.GetEditStyle(ITypeDescriptorContext)。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetPaintValueSupported() 指示该编辑器是否支持绘制对象值的表示形式。 (继承自 UITypeEditor。)
公共方法 GetPaintValueSupported(ITypeDescriptorContext) 指示指定的上下文是否支持在指定的上下文内绘制对象值的表示形式。 (继承自 UITypeEditor。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 PaintValue(PaintValueEventArgs) 使用指定的 PaintValueEventArgs 绘制某个对象的值的表示形式。 (继承自 UITypeEditor。)
公共方法 PaintValue(Object, Graphics, Rectangle) 将指定对象的值的表示形式绘制到指定的画布上。 (继承自 UITypeEditor。)
受保护的方法 PickReference
受保护的方法 ResolveReferencePicker 解决引用选取器并且如果以解决则返回 true
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.VisualStudio.Modeling.Integration.Picker 命名空间