    

 ## On this page

  

 

 # Interface IPropertyGrid

 Last update: 16.07.2025 

Namespace: [VM.Managed.DAFUL.Pre](VM.Managed.DAFUL.Pre.md)  
Assembly: dfpredat.dll

This interface is to represent the property grid.

```csharp
public interface IPropertyGrid

```

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](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
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
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
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
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
void SetBuilderData(string strBuilder)

```

#### Parameters

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

The builder.

### SetGridData(string)

Sets the Grid data.

```csharp
void SetGridData(string strBuilder)

```

#### Parameters

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

### SetValue(string\[\])

Sets the value.

```csharp
void SetValue(string[] strArResult)

```

#### Parameters

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

The result.

### SetValue(string, string)

Sets the Value.

```csharp
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
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
void UpdateDocumentGridInfo()

```

### UpdateDocumentInfo(string)

Updates the document information.

```csharp
void UpdateDocumentInfo(string strXml)

```

#### Parameters

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

The XML.