Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
BaseContainerCustomTitle Interface Reference

Base class for attribute for setting custom title in property grid (Workbench). More...

Inheritance diagram for BaseContainerCustomTitle:
[legend]

Public Member Functions

bool _WB_GetCustomTitle (BaseContainer source, out string title)
 
bool _WB_GetCustomClassTitle (string className, out string title)
 

Detailed Description

Base class for attribute for setting custom title in property grid (Workbench).

Works only on classes defined by BaseContainerProps attribute. Inherit this attribute to set your own custom title.

class MyCustomTitle: BaseContainerCustomTitle
{
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
{
title = "My Title";
return true;
}
}
[BaseContainerProps(), MyCustomTitle()]
class TestConfigClass
{
string m_ID;
};
Definition: attributes.c:259
Base class for attribute for setting custom title in property grid (Workbench).
Definition: attributes.c:413
An Attribute for BaseContainer.
Definition: attributes.c:381
Definition: BaseContainer.c:13

Member Function Documentation

◆ _WB_GetCustomClassTitle()

bool BaseContainerCustomTitle._WB_GetCustomClassTitle ( string  className,
out string  title 
)

◆ _WB_GetCustomTitle()

bool BaseContainerCustomTitle._WB_GetCustomTitle ( BaseContainer  source,
out string  title 
)

The documentation for this interface was generated from the following file: