UITypeEditor.GetPaintValueSupported 方法

定义

指示该编辑器是否支持绘制对象值的表示形式。

重载

GetPaintValueSupported()

指示该编辑器是否支持绘制对象值的表示形式。

GetPaintValueSupported(ITypeDescriptorContext)

指示指定的上下文是否支持在指定的上下文内绘制对象值的表示形式。

GetPaintValueSupported()

指示该编辑器是否支持绘制对象值的表示形式。

public:
 bool GetPaintValueSupported();
public bool GetPaintValueSupported ();
member this.GetPaintValueSupported : unit -> bool
Public Function GetPaintValueSupported () As Boolean

返回

如果实现了 PaintValue(Object, Graphics, Rectangle),则为 true;否则为 false

另请参阅

适用于

GetPaintValueSupported(ITypeDescriptorContext)

指示指定的上下文是否支持在指定的上下文内绘制对象值的表示形式。

public:
 virtual bool GetPaintValueSupported(System::ComponentModel::ITypeDescriptorContext ^ context);
public virtual bool GetPaintValueSupported (System.ComponentModel.ITypeDescriptorContext context);
public virtual bool GetPaintValueSupported (System.ComponentModel.ITypeDescriptorContext? context);
abstract member GetPaintValueSupported : System.ComponentModel.ITypeDescriptorContext -> bool
override this.GetPaintValueSupported : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overridable Function GetPaintValueSupported (context As ITypeDescriptorContext) As Boolean

参数

context
ITypeDescriptorContext

可用于获取附加上下文信息的 ITypeDescriptorContext

返回

如果实现了 PaintValue(Object, Graphics, Rectangle),则为 true;否则为 false

另请参阅

适用于