CustomTypeDescriptor.RequireRegisteredTypes Property
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.
Gets a value that indicates whether types are required to be registered through RegisterType<T>().
public:
virtual property Nullable<bool> RequireRegisteredTypes { Nullable<bool> get(); };
public virtual bool? RequireRegisteredTypes { get; }
member this.RequireRegisteredTypes : Nullable<bool>
Public Overridable ReadOnly Property RequireRegisteredTypes As Nullable(Of Boolean)
Property Value
Implements
Remarks
The default value is null
which means that the type descriptor has not declared whether or not it is compatible registered types.
A type descriptor needs to implement this to return true
or false
if the feature switch
'System.ComponentModel.TypeDescriptor.RequireRegisteredTypes' is enabled.
If true
is returned, then the type descriptor must also implement
GetConverterFromRegisteredType(),
GetEventsFromRegisteredType(), and
GetPropertiesFromRegisteredType().