> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface IPropertyGrid

Namespace: [VM.Managed.DAFUL.Pre](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.Pre)\
Assembly: dfpredat.dll

This interface is to represent the property grid.

```csharp theme={null}
public interface IPropertyGrid
```

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### Initialize(string, string, bool, Type)

Initializes the specified property grid XML.

```csharp theme={null}
string[] Initialize(string strPropertyGridXML, string strBuilderXml, bool bStart, Type typeOp)
```

#### Parameters

`strPropertyGridXML` [string](https://learn.microsoft.com/dotnet/api/system.string)

The property grid XML.

`strBuilderXml` [string](https://learn.microsoft.com/dotnet/api/system.string)

The builder XML.

`bStart` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

if set to `true` \[create operation start].

`typeOp` [Type](https://learn.microsoft.com/dotnet/api/system.type)

The opeartion type.

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)\[]

The result informations.

### IsDoingOperation(bool)

Determines whether \[is doing operation] \[the specified doing operation].

```csharp theme={null}
void IsDoingOperation(bool bDoingOp)
```

#### Parameters

`bDoingOp` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

if set to `true` \[doing operation].

### IsPGEnableWindow(bool, int)

Determines whether \[is PG enable window] \[the specified b\_ enable].

```csharp theme={null}
void IsPGEnableWindow(bool b_Enable, int PickBreakPosition)
```

#### Parameters

`b_Enable` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

if set to `true` \[b\_ enable].

`PickBreakPosition` [int](https://learn.microsoft.com/dotnet/api/system.int32)

The pick break position.

### PropertyApply(bool)

Properties the apply.

```csharp theme={null}
bool PropertyApply(bool bRestart)
```

#### Parameters

`bRestart` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

if set to `true` \[b restart].

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

The sucess state.

### SetBuilderData(string)

Sets the builder data.

```csharp theme={null}
void SetBuilderData(string strBuilder)
```

#### Parameters

`strBuilder` [string](https://learn.microsoft.com/dotnet/api/system.string)

The builder.

### SetGridData(string)

Sets the Grid data.

```csharp theme={null}
void SetGridData(string strBuilder)
```

#### Parameters

`strBuilder` [string](https://learn.microsoft.com/dotnet/api/system.string)

### SetValue(string\[])

Sets the value.

```csharp theme={null}
void SetValue(string[] strArResult)
```

#### Parameters

`strArResult` [string](https://learn.microsoft.com/dotnet/api/system.string)\[]

The result.

### SetValue(string, string)

Sets the Value.

```csharp theme={null}
void SetValue(string strPropName, string strValue)
```

#### Parameters

`strPropName` [string](https://learn.microsoft.com/dotnet/api/system.string)

Name of the prop.

`strValue` [string](https://learn.microsoft.com/dotnet/api/system.string)

The value.

### SetValue(string, string, string)

Sets the value.

```csharp theme={null}
void SetValue(string strPropName, string strContent, string strResult)
```

#### Parameters

`strPropName` [string](https://learn.microsoft.com/dotnet/api/system.string)

Name of the prop.

`strContent` [string](https://learn.microsoft.com/dotnet/api/system.string)

Content of the prop.

`strResult` [string](https://learn.microsoft.com/dotnet/api/system.string)

The result.

### UpdateDocumentGridInfo()

Uddates the document grid information.

```csharp theme={null}
void UpdateDocumentGridInfo()
```

### UpdateDocumentInfo(string)

Updates the document information.

```csharp theme={null}
void UpdateDocumentInfo(string strXml)
```

#### Parameters

`strXml` [string](https://learn.microsoft.com/dotnet/api/system.string)

The XML.
