Skip to main content

Component Plug-In SDK 2026 R1

Class ComponentInfoControlModel

Last update: 19.06.2026

Namespace: Phoenix.BuilderUIClient
Assembly: Phoenix.BuilderUIClient.dll

Model for a control that displays properties of a Phoenix.PaczAPI.IReadOnlyExtractedPacz and allows editing if it is a Phoenix.PaczAPI.IExtractedPacz.

public class ComponentInfoControlModel

Inheritance

object ← ComponentInfoControlModel

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

ComponentInfoControlModel(IReadOnlyExtractedPacz, string, string, IFile, IDirectory, IProcess)

Constructor.

Properties

Author

The author of the component whose information is being displayed.

ComponentType

The type of component whose information is being displayed (Legacy Pacz, Quadratic, etc.).

Description

The description of the component whose information is being displayed.

ExternalMetadata

Metadata about the Pacz from an external source. For example, the remote ID of the Pacz file for Paczs hosted on a remote server.

Files

The list of files in the component's ExtractionFolder.

Icon

The uri to the icon file of the component whose information is being displayed.

IconImage

The bitmap of the icon file for the component whose information is being displayed.

Source

The source path of the component whose information is being displayed.

Version

The version of the component whose information is being displayed.

Methods

ApplyFileChanges()

Updates Phoenix.BuilderUIClient.ComponentInfoControlModel._model's InstanceFiles with the current state of the file tree.

ExpandFile(FileTreeItem)

Fetch the directory contents of the given Phoenix.BuilderUIClient.FileTreeItem and populate them into the view.

ExportAsync(string)

Export the pacz to a file. Whether export is compressed or uncompressed depends on if path ends with '.pacz'.

OpenExtractionFolderAsync()

Open the component's extraction folder.

SafeLoadIconAsync()

Attempt to load the icon, setting the Phoenix.BuilderUIClient.ComponentInfoControlModel.IconImage property with any result. The image property is not changed if an error occurs during loading.

SetIconAsync(string)

Set a new icon by first copying the old icon into the extraction folder, and then setting the Icon property of the config.

Connect with Ansys