ToolboxItem.FilterPropertyValue Method (String, Object)

 

Filters a property value before returning it.

Namespace:   System.Drawing.Design
Assembly:  System.Drawing (in System.Drawing.dll)

protected virtual object FilterPropertyValue(
	string propertyName,
	object value
)

Parameters

propertyName
Type: System.String

The name of the property to filter.

value
Type: System.Object

The value against which to filter the property.

Return Value

Type: System.Object

A filtered property value.

The FilterPropertyValue method enables a property to always clone values, or to provide a default value when none exists.

.NET Framework
Available since 2.0
Return to top
Show: