OpenTAP 9.25
API Reference
Public Types | Static Public Member Functions | List of all members
OpenTap.ChildItemVisibility Class Reference

Child item visibility implements the concept of showing or hiding a child item. This could for example be the child steps of a test step. More...

Public Types

enum  Visibility { Visible , Collapsed }
 Child item visibility. More...
 

Static Public Member Functions

static void SetVisibility (object obj, Visibility visibility)
 Set visibility to collapsed or Visible. More...
 
static Visibility GetVisibility (object obj)
 Sets the current collapsed or visible state. If not previously set it will return Visible. More...
 

Detailed Description

Child item visibility implements the concept of showing or hiding a child item. This could for example be the child steps of a test step.

Member Enumeration Documentation

◆ Visibility

Child item visibility.

Enumerator
Visible 

Child items are visible. This is the default state.

Collapsed 

Child items are collapsed.

Member Function Documentation

◆ GetVisibility()

static Visibility OpenTap.ChildItemVisibility.GetVisibility ( object  obj)
inlinestatic

Sets the current collapsed or visible state. If not previously set it will return Visible.

Parameters
objThe object from which to get visibility.

◆ SetVisibility()

static void OpenTap.ChildItemVisibility.SetVisibility ( object  obj,
Visibility  visibility 
)
inlinestatic

Set visibility to collapsed or Visible.

Parameters
objThe object for which to set visibility.
visibility

OpenTAP 9.25 API built Tue Aug 6 2024 07:49:23