UITypeEditor.GetPaintValueSupported Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether this editor supports painting a representation of an object's value.
Overloads
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
Returns
true
if PaintValue(Object, Graphics, Rectangle) is implemented; otherwise, false
.
See also
Applies to
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);
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
Parameters
- context
- ITypeDescriptorContext
An ITypeDescriptorContext that can be used to gain additional context information.
Returns
true
if PaintValue(Object, Graphics, Rectangle) is implemented; otherwise, false
.