Description
The Hidden
field is a member of the ComponentFlags
enumeration in the Sandbox API. It is used to indicate that a component should be hidden in the component inspector. This flag is useful for components that should not be visible or editable by users in the inspector interface.
Usage
To use the Hidden
flag, you can assign it to a component's flags property to ensure it is not displayed in the component inspector. This is particularly useful for internal components or those that do not require user interaction.
Example
// Example of using the Hidden flag in a component
public class MyComponent : Component
{
public MyComponent()
{
// Set the component flags to Hidden
this.Flags = ComponentFlags.Hidden;
}
}