Class ComponentInfoControlModel
Last update: 19.06.2026Namespace: 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
The author of the component whose information is being displayed.
The type of component whose information is being displayed (Legacy Pacz, Quadratic, etc.).
The description of the component whose information is being displayed.
Metadata about the Pacz from an external source. For example, the remote ID of the Pacz file for Paczs hosted on a remote server.
The list of files in the component's ExtractionFolder.
The uri to the icon file of the component whose information is being displayed.
The bitmap of the icon file for the component whose information is being displayed.
The source path of the component whose information is being displayed.
The version of the component whose information is being displayed.
Methods
Updates Phoenix.BuilderUIClient.ComponentInfoControlModel._model's InstanceFiles with the current state of the file tree.
Fetch the directory contents of the given Phoenix.BuilderUIClient.FileTreeItem and populate them into the view.
Export the pacz to a file. Whether export is compressed or uncompressed depends on if path ends with '.pacz'.
Open the component's extraction folder.
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.
Set a new icon by first copying the old icon into the extraction folder, and then setting the Icon property of the config.