UITypeEditor.GetPaintValueSupported 方法

定義

指出這個編輯器是否支援繪製物件值的表示。Indicates whether this editor supports painting a representation of an object's value.

多載

GetPaintValueSupported()

指出這個編輯器是否支援繪製物件值的表示。Indicates whether this editor supports painting a representation of an object's value.

GetPaintValueSupported(ITypeDescriptorContext)

指出指定的內容是否支援在指定的內容中繪製物件值的表示。Indicates whether the specified context supports painting a representation of an object's value within the specified context.

GetPaintValueSupported()

指出這個編輯器是否支援繪製物件值的表示。Indicates whether this editor supports painting a representation of an object's value.

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

傳回

如果實作 PaintValue(Object, Graphics, Rectangle) 則為 true,否則為 falsetrue if PaintValue(Object, Graphics, Rectangle) is implemented; otherwise, false.

另請參閱

GetPaintValueSupported(ITypeDescriptorContext)

指出指定的內容是否支援在指定的內容中繪製物件值的表示。Indicates whether the specified context supports painting a representation of an object's value within the specified 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,可用來取得其他的內容資訊。An ITypeDescriptorContext that can be used to gain additional context information.

傳回

如果實作 PaintValue(Object, Graphics, Rectangle) 則為 true,否則為 falsetrue if PaintValue(Object, Graphics, Rectangle) is implemented; otherwise, false.

另請參閱

適用於