IPageNavigator.EnableButton Method
Directly enable/disable a button
Namespace: Microsoft.TeamFoundation.Controls.WPF
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Sub EnableButton ( _
buttonType As ButtonType, _
enable As Boolean _
)
void EnableButton(
ButtonType buttonType,
bool enable
)
void EnableButton(
ButtonType buttonType,
bool enable
)
abstract EnableButton :
buttonType:ButtonType *
enable:bool -> unit
function EnableButton(
buttonType : ButtonType,
enable : boolean
)
Parameters
buttonType
Type: Microsoft.TeamFoundation.Controls.WPF.ButtonTypewhich button
enable
Type: System.Booleantrue to enable, false to disable
.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.