Share via


IExpandCollapseProvider::ExpandCollapseState Property

Retrieves the state, expanded or collapsed, of the control.

Syntax

HRESULT IExpandCollapseProvider::get_ExpandCollapseState(ExpandCollapseState *pRetVal);

Parameters

  • pRetVal
    [retval][out] The address of a variable that receives a value from the ExpandCollapseState enumerated type.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UI Automation Providers Overview