Table of Contents

Class CapturePropertyCollectionConverter

Namespace
Bonsai.Vision.Design
Assembly
Bonsai.Vision.Design.dll

Provides a type converter that converts collections of video capture properties to and from various other representations, and allows real-time value updates.

public class CapturePropertyCollectionConverter : CollectionConverter
Inheritance
CapturePropertyCollectionConverter
Inherited Members

Methods

GetProperties(ITypeDescriptorContext, object, Attribute[])

Gets a collection of properties for the type of array specified by the value parameter using the specified context and attributes.

public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)

Parameters

context ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

value object

An object that specifies the type of array to get the properties for.

attributes Attribute[]

An array of type Attribute that will be used as a filter.

Returns

PropertyDescriptorCollection

A PropertyDescriptorCollection with the properties that are exposed for this data type, or null if there are no properties. This method always returns null.

GetPropertiesSupported(ITypeDescriptorContext)

Gets a value indicating whether this object supports properties.

public override bool GetPropertiesSupported(ITypeDescriptorContext context)

Parameters

context ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

Returns

bool

false because GetProperties(ITypeDescriptorContext, object, Attribute[]) should not be called to find the properties of this object. This method never returns true.