Skip to main content

Component Plug-In SDK 2026 R1

Interface IComponentInfoControlViewModel

Last update: 19.06.2026

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

Interface of a View model for Phoenix.BuilderUIClient.ComponentInfoControl.

public interface IComponentInfoControlViewModel : INotifyPropertyChanged

Implements

INotifyPropertyChanged

Properties

Author

The author of the component whose information is being displayed.

BrowseIconCommand

Command that handles opening a file dialog to select a new icon.

CanEditBuilderUI

Does the model support opening an edit UI?

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.

EditBuilderUILabel

Label to use to view/edit the component

EditCommandAsync

Command that handles opening the component's edit UI. May be null if editing is not supported.

ExportCommandAsync

Command that handles exporting the component.

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.

HasChanged

Have any fields been changed?

HasComponent

Is there a component loaded in the control?

HelpAsyncDelegate

Method for showing a help dialog. Should be set by the user after construction.

HelpButtonEnabled

Can the help button be used?

HelpCommandAsync

Command that handles showing the help dialog.

HideExternalMetadata

Whether to hide the external metadata portion of the UI.

Icon

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

IconImage

The icon image of the component whose information is being displayed.

InWriteMode

Is the model in write mode (editing enabled)?

IsReadOnly

Is the model read-only?

OnComponentSaved

Event handler to fire when the user saves the component through the Edit Component UI.

OpenFolderCommandAsync

Command that handles opening the component's ExtractionFolder.

SaveButtonEnabled

Can the save button be used?

SaveCommandAsync

Command that handles saving changes to the component.

Source

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

Version

The version of the component whose information is being displayed.

Methods

ExpandFile(FileTreeItem)

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

LoadComponentAsync(IReadOnlyExtractedPacz, string, string)

Load a new component into the control.

StartWriteMode(IExtractedPacz)

Set the control to be writable temporarily. Sets writable mode immediately, and unsets it when the returned System.IDisposable is disposed.

UnloadComponent()

Unloads the current component from the control.

RequestSaveAsync

Async method for requesting a save to Phoenix.BuilderUIClient.LocalEditHolder.

Connect with Ansys