Window Framework for UI Toolkit v2.0.x
GWG.WindowFramework.WindowFrameDataEntry Class Reference

Represents a KeyValue-value pair entry for window frame data storage, designed for serialization compatibility. More...

Collaboration diagram for GWG.WindowFramework.WindowFrameDataEntry:

Data Fields

string Key
 Gets or sets the unique identifier KeyValue for the window frame data entry.
WindowFrameData Value
 Gets or sets the window frame data associated with this entry.

Detailed Description

Represents a KeyValue-value pair entry for window frame data storage, designed for serialization compatibility.

This class serves as a wrapper for dictionary entries to enable JSON serialization of window frame data collections. Unity's JsonUtility doesn't support direct dictionary serialization, so this entry class provides a serializable alternative while maintaining the KeyValue-value relationship structure.

// Create a window frame data entry
var entry = new WindowFrameDataEntry
{
Key = "MainWindow",
{
windowId = "MainWindow",
title = "Main Application Window"
}
};
Represents a KeyValue-value pair entry for window frame data storage, designed for serialization comp...
Definition WindowFrameworkData.cs:348
string Key
Gets or sets the unique identifier KeyValue for the window frame data entry.
Definition WindowFrameworkData.cs:360
WindowFrameData Value
Gets or sets the window frame data associated with this entry.
Definition WindowFrameworkData.cs:373
Represents the serializable data structure for storing and loading window frame configuration and sta...
Definition WindowFrameData.cs:64

Field Documentation

◆ Key

string GWG.WindowFramework.WindowFrameDataEntry.Key

Gets or sets the unique identifier KeyValue for the window frame data entry.

A string that serves as the unique identifier for the associated window frame data. This KeyValue is used for lookups and should correspond to the window's unique identifier.

The KeyValue serves as the primary identifier for window frame data entries and should be unique within the collection and remain consistent across application sessions.

◆ Value

WindowFrameData GWG.WindowFramework.WindowFrameDataEntry.Value

Gets or sets the window frame data associated with this entry.

A WindowFrameData object containing all configuration and state information for the window identified by the Key property.

This property contains the complete window configuration including position, size, visibility, and other window-specific settings.