UITypeEditor.GetPaintValueSupported 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示该编辑器是否支持绘制对象值的表示形式。
重载
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
。
另请参阅
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈