SelectionRangeConverter::GetCreateInstanceSupported Method (ITypeDescriptorContext^)

 

Determines if changing a value on an instance should require a call to CreateInstance to create a new value.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
virtual bool GetCreateInstanceSupported(
	ITypeDescriptorContext^ context
) override

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

A ITypeDescriptorContext that provides a format context.

Return Value

Type: System::Boolean

true if CreateInstance must be called to make a change to one or more properties; otherwise false.

The default implementation always returns true.

.NET Framework
Available since 1.1
Return to top
Show: