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
。