ExpandCollapseCommand Constructor
Creates a new instance of the ExpandCollapseCommand.
Namespace: Microsoft.TeamFoundation.Controls.WPF.Commands
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Sub New ( _
expandOnExecute As Boolean _
)
public ExpandCollapseCommand(
bool expandOnExecute
)
public:
ExpandCollapseCommand(
bool expandOnExecute
)
new :
expandOnExecute:bool -> ExpandCollapseCommand
public function ExpandCollapseCommand(
expandOnExecute : boolean
)
Parameters
expandOnExecute
Type: System.BooleanTrue to expand the Expander when the command executes. False to collapse the Expander when the command executes.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.