Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 override bool GetCreateInstanceSupported(
	ITypeDescriptorContext context
)

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:
© 2017 Microsoft