Share this page

SetPropertyValue<T> Method
Sets the value of the specified property in this property grid control.
Remarks
Applicable only to a simple value. To change a value of a custom control value in a property grid, try to create a test object for the custom control and use it to change the value.

C# Syntax

    void SetPropertyValue<T>(
       string propertyPath,
       T newPropertyValue
    )
    where T: IConvertible

Parameters

propertyPath
  The path of the property.
newPropertyValue
  The new value of the property.

Type Parameters

T
  The type of the property value.

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: